5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 01:26:22 +00:00
panel/app/javascript/etc/turbolinks-anchors.js

4 lines
143 B
JavaScript
Raw Permalink Normal View History

2020-11-20 00:23:23 +00:00
document.addEventListener('turbolinks:load', () => {
document.querySelectorAll('a[href^="#"]').forEach(a => a.dataset.turbolinks = false)
2020-11-20 00:23:23 +00:00
})