mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-12-22 14:42:54 +00:00
826b4c2c9f
Footnotes are using a fragment format with a colon inside ("#fn:1" for example). However, ":" is a special character for jQuery (http://api.jquery.com/category/selectors/), thus the target anchor is never found and the scrolling does not happen. This change selects the right target element using vanilla Javascript to bypass special characters that could be in the fragment part. |
||
---|---|---|
.. | ||
index.js | ||
initMoment.js | ||
initOwlCarousel.js |