mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
W++ Tab Fix
This commit is contained in:
@@ -1690,7 +1690,7 @@ function world_info_entry(data) {
|
|||||||
var original_focus = null;
|
var original_focus = null;
|
||||||
if (document.getElementById("world_info_"+data.uid)) {
|
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
|
//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("Active ID: "+original_focus);
|
||||||
//console.log(document.activeElement);
|
//console.log(document.activeElement);
|
||||||
//document.getElementById("world_info_"+data.uid).remove();
|
//document.getElementById("world_info_"+data.uid).remove();
|
||||||
|
Reference in New Issue
Block a user