comparison index.html @ 7:c1086c23ef29

Wrong conditional
author nanaya <me@myconan.net>
date Tue, 24 Nov 2015 20:29:57 +0900
parents 3be5d1679ce0
children d0bb084e17b4
comparison
equal deleted inserted replaced
6:a696cc8f1ee1 7:c1086c23ef29
98 var $doButton = $("button[type=submit]"); 98 var $doButton = $("button[type=submit]");
99 var $xForm = $("#x"); 99 var $xForm = $("#x");
100 100
101 var locks = {}; 101 var locks = {};
102 var lock = function(isLoading) { 102 var lock = function(isLoading) {
103 if (!isLoading && locks.fixer === true && locks.bni === true) { return; } 103 if (!isLoading && (locks.fixer === true || locks.bni === true)) { return; }
104 $loading.toggle(isLoading); 104 $loading.toggle(isLoading);
105 $doButton.attr("disabled", isLoading); 105 $doButton.attr("disabled", isLoading);
106 }; 106 };
107 107
108 var rates = {}; 108 var rates = {};