parent
c3a840076e
commit
5c6ec9d06b
|
@ -28,7 +28,7 @@ $(function () {
|
||||||
const hash = decodeURI(this.hash);
|
const hash = decodeURI(this.hash);
|
||||||
let toFootnoteRef = RegExp(/^#fnref:/).test(hash);
|
let toFootnoteRef = RegExp(/^#fnref:/).test(hash);
|
||||||
let toFootnote = toFootnoteRef ? false : RegExp(/^#fn:/).test(hash);
|
let toFootnote = toFootnoteRef ? false : RegExp(/^#fn:/).test(hash);
|
||||||
let selector = hash.includes(":") ? hash.replace(/:/g, "\\:") : hash;
|
let selector = '#' + $.escapeSelector(hash.substring(1));
|
||||||
let $target = $(selector);
|
let $target = $(selector);
|
||||||
|
|
||||||
let isMobileViews = $topbarTitle.is(":visible");
|
let isMobileViews = $topbarTitle.is(":visible");
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue