Update index.js
This commit is contained in:
parent
90db59ad1f
commit
00b755efbf
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ var $sitehead = $('#site-head');
|
||||||
}, 1000);
|
}, 1000);
|
||||||
}
|
}
|
||||||
function srcToAnchorWithTitle (str) {
|
function srcToAnchorWithTitle (str) {
|
||||||
var $el = $('#' + str);
|
var $el = $('#' + str.replace("'","\\\'"));
|
||||||
if ($el.length) {
|
if ($el.length) {
|
||||||
srcTo($el);
|
srcTo($el);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue