Mercurial > titip
diff index.html @ 7:c1086c23ef29
Wrong conditional
author | nanaya <me@myconan.net> |
---|---|
date | Tue, 24 Nov 2015 20:29:57 +0900 |
parents | 3be5d1679ce0 |
children | d0bb084e17b4 |
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); };