mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fix(?) WIEditor scrollbars & add it to Panel Reset
This commit is contained in:
@ -544,7 +544,7 @@ function loadPowerUserSettings(settings, data) {
|
||||
|
||||
function loadMaxContextUnlocked() {
|
||||
$('#max_context_unlocked').prop('checked', power_user.max_context_unlocked);
|
||||
$('#max_context_unlocked').on('change', function() {
|
||||
$('#max_context_unlocked').on('change', function () {
|
||||
power_user.max_context_unlocked = !!$(this).prop('checked');
|
||||
switchMaxContextSize();
|
||||
saveSettingsDebounced();
|
||||
@ -796,6 +796,13 @@ function resetMovablePanels() {
|
||||
document.getElementById("avatar_zoom_popup").style.bottom = '';
|
||||
document.getElementById("avatar_zoom_popup").style.height = '';
|
||||
document.getElementById("avatar_zoom_popup").style.width = '';
|
||||
|
||||
document.getElementById("world_popup").style.top = '';
|
||||
document.getElementById("world_popup").style.left = '';
|
||||
document.getElementById("world_popup").style.right = '';
|
||||
document.getElementById("world_popup").style.bottom = '';
|
||||
document.getElementById("world_popup").style.height = '';
|
||||
document.getElementById("world_popup").style.width = '';
|
||||
}
|
||||
|
||||
$(document).ready(() => {
|
||||
|
Reference in New Issue
Block a user