From: David ‘Bombe’ Roden Date: Fri, 22 Oct 2010 07:55:03 +0000 (+0200) Subject: Fix syntax error. X-Git-Tag: 0.1-RC1~98 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=f03fd6ea01ac4ac1657b276ccaa5ea00bbe79976;p=Sone.git Fix syntax error. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 15788aa..3c5e6a7 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -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() {