Skip to content
Snippets Groups Projects
Commit 5aca822e authored by ambient.impact's avatar ambient.impact
Browse files

Cleaned up some stuff in refreshless_turbo/js/progress_bar.js:

Mostly removed a commented out console.debug() and converted a handler
to arrow function.
parent edb9b831
No related branches found
No related tags found
1 merge request!10Issue #3488464: Implemented our own progress bar; removed Turbo progress
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment