mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Potential race condition fix
This commit is contained in:
@@ -3680,4 +3680,7 @@ select {
|
||||
text-decoration: underline dotted;
|
||||
}
|
||||
|
||||
.dirty {
|
||||
text-decoration: underline dotted red;
|
||||
}
|
||||
|
||||
|
@@ -44,7 +44,6 @@ initalizeTooltips();
|
||||
//setup an observer on the game text
|
||||
var chunk_delete_observer = new MutationObserver(function (records) {gametextwatcher(records)});
|
||||
|
||||
chunk_delete_observer.observe(document.getElementById('Selected Text'), { subtree: true, childList: true, characterData: true });
|
||||
|
||||
var vars_sync_time = {};
|
||||
var presets = {};
|
||||
|
@@ -27,7 +27,7 @@
|
||||
<script src="static/favicon.js"></script>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body>
|
||||
<body onload="chunk_delete_observer.observe(document.getElementById('Selected Text'), { subtree: true, childList: true, characterData: true });">
|
||||
<span class="hidden var_sync_system_on_colab" id="on_colab">false</span>
|
||||
<!------------ Left Flyout Menu--------------------->
|
||||
<div id="SideMenu" class="SideMenu pinned">
|
||||
|
Reference in New Issue
Block a user