added if condition (line 4351) to resetWindowsPlacement(); (#2198)
This commit is contained in:
parent
2a6921a455
commit
8f5b7210cc
1 changed files with 3 additions and 1 deletions
|
|
@ -5187,7 +5187,9 @@ function syncAdminVisibility() {
|
|||
export function open(tab) {
|
||||
if (!initialized) initAll();
|
||||
syncAppearanceCheckboxes();
|
||||
resetWindowPlacement();
|
||||
if (modalEl.classList.contains('hidden')) {
|
||||
resetWindowPlacement();
|
||||
}
|
||||
modalEl.classList.remove('hidden');
|
||||
syncAdminVisibility();
|
||||
const content = modalEl.querySelector('.settings-modal-content');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue