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;
|
style.id = id;
|
||||||
document.head.appendChild(style);
|
document.head.appendChild(style);
|
||||||
} else {
|
} else {
|
||||||
document.getElementById(id).remove();
|
let el = document.getElementById(id);
|
||||||
|
if (el) el.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
saveTweaks();
|
saveTweaks();
|
||||||
|
Reference in New Issue
Block a user