mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-06-03 03:01:55 +08:00
Made Button.js jshint compliant
This commit is contained in:
+2
-2
@@ -109,8 +109,8 @@ var Button = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
clearCooldown: function(btn, ended) {
|
clearCooldown: function(btn, cooldownEnded) {
|
||||||
var ended = ended || false;
|
var ended = cooldownEnded || false;
|
||||||
if(!ended){
|
if(!ended){
|
||||||
$('div.cooldown', btn).stop(true, true);
|
$('div.cooldown', btn).stop(true, true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user