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

3 lines
143 B
JavaScript

document.addEventListener('turbolinks:load', () => {
document.querySelectorAll('a[href^="#"]').forEach(a => a.dataset.turbolinks = false)
})