Browse Source

Fix misplaced semicolons

softuart
Xose Pérez 6 years ago
parent
commit
4f790688c1
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      code/html/custom.js

+ 6
- 6
code/html/custom.js View File

@ -1193,17 +1193,17 @@ function hasChanged() {
if (newValue !== originalValue) {
if (0 === hasChanged) {
++numChanged;
if ("reconnect" === action) { ++numReconnect };
if ("reboot" === action) { ++numReboot };
if ("reload" === action) { ++numReload };
if ("reconnect" === action) { ++numReconnect; }
if ("reboot" === action) { ++numReboot; }
if ("reload" === action) { ++numReload; }
$(this).attr("hasChanged", 1);
}
} else {
if (1 === hasChanged) {
--numChanged;
if ("reconnect" === action) { --numReconnect };
if ("reboot" === action) { --numReboot };
if ("reload" === action) { --numReload };
if ("reconnect" === action) { --numReconnect; }
if ("reboot" === action) { --numReboot; }
if ("reload" === action) { --numReload; }
$(this).attr("hasChanged", 0);
}
}


Loading…
Cancel
Save