mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-06 08:24:27 +01:00
Fix misplaced semicolons
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user