changeset 7:c1086c23ef29

Wrong conditional
author nanaya <me@myconan.net>
date Tue, 24 Nov 2015 20:29:57 +0900
parents a696cc8f1ee1
children d0bb084e17b4
files index.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/index.html	Tue Nov 24 20:29:50 2015 +0900
+++ b/index.html	Tue Nov 24 20:29:57 2015 +0900
@@ -100,7 +100,7 @@
 
     var locks = {};
     var lock = function(isLoading) {
-      if (!isLoading && locks.fixer === true && locks.bni === true) { return; }
+      if (!isLoading && (locks.fixer === true || locks.bni === true)) { return; }
       $loading.toggle(isLoading);
       $doButton.attr("disabled", isLoading);
     };