mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
Merge pull request #653 from staurand/master
Added pipe to escaped symbols of jQuery selector
This commit is contained in:
commit
a05ed38501
@ -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