From 695f12ad0f50449d3df5b520139c6c47a8f98955 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 8 Dec 2020 09:53:14 -0300 Subject: [PATCH] primer bug encontrado gracias a nuestro airbrake :B --- app/assets/javascripts/turbolinks-anchors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/turbolinks-anchors.js b/app/assets/javascripts/turbolinks-anchors.js index c1b2e17..671e878 100644 --- a/app/assets/javascripts/turbolinks-anchors.js +++ b/app/assets/javascripts/turbolinks-anchors.js @@ -1,3 +1,3 @@ document.addEventListener('turbolinks:load', () => { - document.querySelectorAll('a[href^="#"]').forEach(a => a.data.turbolinks = false) + document.querySelectorAll('a[href^="#"]').forEach(a => a.dataset.turbolinks = false) })