From 093d8cf097dd286556ddbd8c323fdd845df8dd0c Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 12 Feb 2024 21:57:43 +0000 Subject: [PATCH] . --- anatomy/static/js/anatomy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anatomy/static/js/anatomy.js b/anatomy/static/js/anatomy.js index 98ef3038..febc771d 100644 --- a/anatomy/static/js/anatomy.js +++ b/anatomy/static/js/anatomy.js @@ -13,8 +13,8 @@ window.control_pressed = false; $(document).ready(function () { document.body.addEventListener("htmx:responseError", function(e) { - error = e.detail.xhr.response; - el = document.getElementById("htmx-error"); + let error = e.detail.xhr.response; + let el = document.getElementById("htmx-error"); el.innerHTML = error; el.classList.remove("hidden"); });