mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
Merge pull request #1443 from sakarie9/dev
🐛 Fix TOC scroll indicator with CJK characters
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
h.each(function (i, e) {
|
||||
e = $(e);
|
||||
if (e.offset().top - $(window).height()/3 <= currentScroll) {
|
||||
id = e.attr('id');
|
||||
id = decodeURIComponent(e.attr('id'));
|
||||
}
|
||||
});
|
||||
var active = $toc.find('a.active');
|
||||
@@ -62,4 +62,4 @@
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user