mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-14 22:51:41 +00:00
que turbolinks respete los anchors (para los artículos con notas al pie)
This commit is contained in:
parent
0f7ffe0243
commit
79362e024d
1 changed files with 3 additions and 0 deletions
3
app/assets/javascripts/turbolinks-anchors.js
Normal file
3
app/assets/javascripts/turbolinks-anchors.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
$(document).on('turbolinks:load', function() {
|
||||
$('a[href^="#"]').data('turbolinks', false);
|
||||
});
|
Loading…
Reference in a new issue