fix for sheld position breaking on reset after OOB

- placeholder styles for groupmember <a>
This commit is contained in:
RossAscends
2023-05-02 02:15:42 +09:00
parent 6f47b07063
commit 44a2a0faf5
2 changed files with 10 additions and 2 deletions

View File

@ -478,9 +478,12 @@ async function saveTheme() {
function resetMovablePanels() {
document.getElementById("sheld").style.top = '';
document.getElementById("sheld").style.left = '';
document.getElementById("sheld").style.bottom = '';
document.getElementById("sheld").style.right = '';
document.getElementById("sheld").style.height = '';
document.getElementById("sheld").style.width = '';
document.getElementById("left-nav-panel").style.top = '';
document.getElementById("left-nav-panel").style.left = '';
document.getElementById("left-nav-panel").style.height = '';
@ -704,8 +707,8 @@ $(document).ready(() => {
});
$('#auto_fix_generated_markdown').on('input', function () {
power_user.auto_fix_generated_markdown = !!$(this).prop('checked');
saveSettingsDebounced();
power_user.auto_fix_generated_markdown = !!$(this).prop('checked');
saveSettingsDebounced();
});
$('#auto_scroll_chat_to_bottom').on("input", function () {