Refactor for multi window

This commit is contained in:
Ximi1970
2023-11-13 20:14:30 +01:00
parent 13b9e121b6
commit 70dcc83173
59 changed files with 1718 additions and 650 deletions

View File

@@ -150,7 +150,7 @@ SysTrayX.Accounts = {
JSON.stringify({
accountName: element.accountName,
accountId: element.accountId,
type: element.type != undefined ? element.type : "",
type: element.type !== undefined ? element.type : "",
path: element.path,
name: element.originalName
? element.originalName
@@ -210,7 +210,7 @@ SysTrayX.Accounts = {
':scope > input[type="checkbox"]'
);
if (mainCb && mainCb != this) {
if (mainCb && mainCb !== this) {
mainCb.checked = this.checked;
const mainCbChildren = mainCb.parentNode.querySelectorAll(