mirror of
https://github.com/Ximi1970/systray-x.git
synced 2025-11-15 17:56:09 +01:00
Refactor for multi window
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user