From eb740e382bc0447050348ac7c55f43b0346eca6f Mon Sep 17 00:00:00 2001 From: ebolam Date: Fri, 2 Sep 2022 07:50:32 -0400 Subject: [PATCH] Fix for file highlighting on load file dialog --- static/koboldai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/koboldai.js b/static/koboldai.js index eaa6f918..249ede42 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -818,7 +818,7 @@ function popup_items(data) { for (item of popup_list) { item.classList.remove("selected"); } - this.classList.add("selected"); + this.parentElement.classList.add("selected"); }; tr.append(td); }