From 5a2fa2bb2d93482a3bb314e4774c8591547c590c Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Wed, 9 Oct 2024 22:24:45 -0300 Subject: [PATCH] refactor(error_handler): remove debug log --- .../includes/scripts/hyperscript/htmx_error_handler.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/templates/includes/scripts/hyperscript/htmx_error_handler.html b/app/templates/includes/scripts/hyperscript/htmx_error_handler.html index 857d022..bcf8510 100644 --- a/app/templates/includes/scripts/hyperscript/htmx_error_handler.html +++ b/app/templates/includes/scripts/hyperscript/htmx_error_handler.html @@ -2,7 +2,6 @@ behavior htmx_error_handler on htmx:responseError or htmx:afterRequest[detail.failed] remove .invisible .visually-hidden .swing-in-top-fwd from #loading-error then log event - on htmx:afterRequest[detail.successful] add .invisible .visually-hidden .swing-in-top-fwd to #loading-error then - log 'oi' + on htmx:afterRequest[detail.successful] add .invisible .visually-hidden .swing-in-top-fwd to #loading-error end