From d8b8733fd3f935f7c2d60482f8f46c5738a8b338 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 12 Feb 2024 21:56:59 +0000 Subject: [PATCH] . --- anatomy/static/js/anatomy.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/anatomy/static/js/anatomy.js b/anatomy/static/js/anatomy.js index e009692b..98ef3038 100644 --- a/anatomy/static/js/anatomy.js +++ b/anatomy/static/js/anatomy.js @@ -14,9 +14,9 @@ window.control_pressed = false; $(document).ready(function () { document.body.addEventListener("htmx:responseError", function(e) { error = e.detail.xhr.response; - e = document.getElementById("htmx-error"); - e.innerHTML = error; - e.classList.remove("hidden"); + el = document.getElementById("htmx-error"); + el.innerHTML = error; + el.classList.remove("hidden"); });