mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +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() {
|
||||
var id = getHash().substr(1).replace( /([:\.\[\]\{\}])/g, "\\$1");
|
||||
var id = getHash().substr(1).replace( /([:\.\[\]\{\}|])/g, "\\$1");
|
||||
var elem = $('#' + id);
|
||||
if (elem.length) {
|
||||
setTimeout(function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user