Fix misplaced semicolons

This commit is contained in:
Xose Pérez
2018-02-09 00:14:31 +01:00
parent a6dbd3ef7b
commit 4f790688c1

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);
}
}