From 34dfabfd9430ec4033f54ab01763a7cc5871e1e6 Mon Sep 17 00:00:00 2001 From: ebolam Date: Sat, 22 Oct 2022 21:18:20 -0400 Subject: [PATCH] W++ Tab Fix --- static/koboldai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/koboldai.js b/static/koboldai.js index 289d5f43..ff675977 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -1690,7 +1690,7 @@ function world_info_entry(data) { var original_focus = null; if (document.getElementById("world_info_"+data.uid)) { //First let's get the id of the element we're on so we can restore it after removing the object - //original_focus = document.activeElement.id; + original_focus = document.activeElement.id; //console.log("Active ID: "+original_focus); //console.log(document.activeElement); //document.getElementById("world_info_"+data.uid).remove();