mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
Added pipe to escaped symbols of jQuery selector
Pipe symbol needs to be escaped in jQuery selector. This symbol is added when multiple methods are allowed for a route. e.g /api/doc#get|post--...
This commit is contained in:
parent
c7909c576e
commit
a967fce6c7
@ -86,7 +86,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
$(window).load(function() {
|
$(window).load(function() {
|
||||||
var id = getHash().substr(1).replace( /([:\.\[\]\{\}])/g, "\\$1");
|
var id = getHash().substr(1).replace( /([:\.\[\]\{\}|])/g, "\\$1");
|
||||||
var elem = $('#' + id);
|
var elem = $('#' + id);
|
||||||
if (elem.length) {
|
if (elem.length) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user