diff --git a/modules/refreshless_turbo/js/progress_bar.js b/modules/refreshless_turbo/js/progress_bar.js index 30ec5d988f1018bb51b2ee8e7a19a2285b43faea..deed8be302fc45f3ceb672aa748b5c17931c6f27 100644 --- a/modules/refreshless_turbo/js/progress_bar.js +++ b/modules/refreshless_turbo/js/progress_bar.js @@ -20,9 +20,7 @@ // Note that this intentionally listens to the fetch request event rather than // turbo:click so that the progress bar also kicks in during back/forward // history navigation. - html.addEventListener('turbo:before-fetch-request', function(event) { - - // console.debug(event.target); + html.addEventListener('turbo:before-fetch-request', (event) => { if ( // Ignore prefetch requests.