Fix syntax error.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 22 Oct 2010 07:55:03 +0000 (09:55 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 22 Oct 2010 07:55:03 +0000 (09:55 +0200)
src/main/resources/static/javascript/sone.js

index 15788aa..3c5e6a7 100644 (file)
@@ -95,7 +95,7 @@ function getSoneStatus(soneId) {
                updateSoneStatus(soneId, data.status, data.modified, data.lastUpdated);
                /* seconds! */
                updateInterval = 60;
-               if (data.modified || (data.status == "downloading") || (data.status == "inserting")) {}
+               if (data.modified || (data.status == "downloading") || (data.status == "inserting")) {
                        updateInterval = 5;
                }
                setTimeout(function() {