From 90aa1ca4fdb1859a00ef65d327ea0ddf391ef32a Mon Sep 17 00:00:00 2001 From: Lucas Lois Date: Sun, 2 Oct 2016 17:00:57 -0300 Subject: [PATCH] Made Button.js jshint compliant --- script/Button.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/Button.js b/script/Button.js index df1f0e9..83aac02 100644 --- a/script/Button.js +++ b/script/Button.js @@ -109,8 +109,8 @@ var Button = { } }, - clearCooldown: function(btn, ended) { - var ended = ended || false; + clearCooldown: function(btn, cooldownEnded) { + var ended = cooldownEnded || false; if(!ended){ $('div.cooldown', btn).stop(true, true); }