From 7057324fc0ddbb26880f6ce948e70253a1c24fe6 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 17 Sep 2021 15:41:37 -0300 Subject: [PATCH] Usar turbo:load --- _packs/entry.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/_packs/entry.js b/_packs/entry.js index 9ba5f80..8a4d710 100644 --- a/_packs/entry.js +++ b/_packs/entry.js @@ -31,9 +31,7 @@ try { if (window.axe) window.axe.configure({ locale: require('axe-core/locales/es.json') }) -// Prevenir que Turbolinks interfiera la navegación a un anchor al -// recargar la página -document.addEventListener('turbolinks:load', event => { +document.addEventListener('turbo:load', event => { if (!window.axe) return window.axe.run().then(results => {