mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix tweaks not saving
This commit is contained in:
@@ -2866,7 +2866,8 @@ $(document).ready(function(){
|
||||
style.id = id;
|
||||
document.head.appendChild(style);
|
||||
} else {
|
||||
document.getElementById(id).remove();
|
||||
let el = document.getElementById(id);
|
||||
if (el) el.remove();
|
||||
}
|
||||
|
||||
saveTweaks();
|
||||
|
Reference in New Issue
Block a user