sillytavern
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -52,3 +52,3 @@ { | ||
}, | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"scripts": { | ||
@@ -55,0 +55,0 @@ "start": "node server.js", |
@@ -38,2 +38,3 @@ import { saveSettingsDebounced } from "../../../script.js"; | ||
initializeEmptySlots(extension_settings.quickReply.numberOfSlots); | ||
generateQuickReplyElements(); | ||
@@ -135,2 +136,11 @@ | ||
// Initialize new slots | ||
initializeEmptySlots(numberOfSlots); | ||
await loadSettings(); | ||
addQuickReplyBar(); | ||
moduleWorker(); | ||
saveSettingsDebounced(); | ||
} | ||
function initializeEmptySlots(numberOfSlots) { | ||
for (let i = 0; i < numberOfSlots; i++) { | ||
@@ -145,7 +155,2 @@ if (!extension_settings.quickReply.quickReplySlots[i]) { | ||
} | ||
await loadSettings(); | ||
addQuickReplyBar(); | ||
moduleWorker(); | ||
saveSettingsDebounced(); | ||
} | ||
@@ -152,0 +157,0 @@ |
@@ -613,2 +613,10 @@ import { | ||
if (power_user.chat_display === '') { | ||
power_user.chat_display = chat_styles.DEFAULT; | ||
} | ||
if (power_user.waifuMode === '') { | ||
power_user.waifuMode = false; | ||
} | ||
$('#trim_spaces').prop("checked", power_user.trim_spaces); | ||
@@ -615,0 +623,0 @@ $('#continue_on_send').prop("checked", power_user.continue_on_send); |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36517868
58289