For some unknown reason, all the `document.onreadystatechange = () => {`
checks stopped working. Thankfully, replacing them with
`document.addEventListener("readystatechange", () => {` fixed the
issues.
---------
Signed-off-by: George Araujo <george.gcac@gmail.com>
7 lines
186 B
Plaintext
7 lines
186 B
Plaintext
{% if site.back_to_top %}
|
|
<script src="{{ '/assets/js/vanilla-back-to-top.min.js' | relative_url | bust_file_cache }}"></script>
|
|
<script>
|
|
addBackToTop();
|
|
</script>
|
|
{% endif %}
|