mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add option to use the old embedded WI toast
This commit is contained in:
@ -165,6 +165,7 @@ let power_user = {
|
||||
continue_on_send: false,
|
||||
trim_spaces: true,
|
||||
relaxed_api_urls: false,
|
||||
world_import_dialog: true,
|
||||
disable_group_trimming: false,
|
||||
|
||||
default_instruct: '',
|
||||
@ -896,6 +897,7 @@ function loadPowerUserSettings(settings, data) {
|
||||
}
|
||||
|
||||
$('#relaxed_api_urls').prop("checked", power_user.relaxed_api_urls);
|
||||
$('#world_import_dialog').prop("checked", power_user.world_import_dialog);
|
||||
$('#trim_spaces').prop("checked", power_user.trim_spaces);
|
||||
$('#continue_on_send').prop("checked", power_user.continue_on_send);
|
||||
$('#quick_continue').prop("checked", power_user.quick_continue);
|
||||
@ -2307,6 +2309,12 @@ $(document).ready(() => {
|
||||
saveSettingsDebounced();
|
||||
});
|
||||
|
||||
$("#world_import_dialog").on("input", function () {
|
||||
const value = !!$(this).prop('checked');
|
||||
power_user.world_import_dialog = value;
|
||||
saveSettingsDebounced();
|
||||
});
|
||||
|
||||
$('#spoiler_free_mode').on('input', function () {
|
||||
power_user.spoiler_free_mode = !!$(this).prop('checked');
|
||||
switchSpoilerMode();
|
||||
|
Reference in New Issue
Block a user