diff --git a/app/assets/javascripts/turbolinks-anchors.js b/app/assets/javascripts/turbolinks-anchors.js new file mode 100644 index 0000000..27ca3d3 --- /dev/null +++ b/app/assets/javascripts/turbolinks-anchors.js @@ -0,0 +1,3 @@ +$(document).on('turbolinks:load', function() { + $('a[href^="#"]').data('turbolinks', false); +});