mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Merge pull request #466 from djlemmings/master
Fixed the wrong endpoint value check when no endpoint is set in config.
This commit is contained in:
commit
38f0bec705
@ -396,7 +396,7 @@
|
||||
{% else -%}
|
||||
var endpoint = '{{ endpoint }}';
|
||||
{% endif -%}
|
||||
if ($('#api_endpoint') && $('#api_endpoint').val() != '') {
|
||||
if ($('#api_endpoint') && typeof($('#api_endpoint').val()) != 'undefined') {
|
||||
endpoint = $('#api_endpoint').val();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user