diff --git a/4chan_x.user.js b/4chan_x.user.js index 90a75a68f..62a79733a 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1196,7 +1196,7 @@ cb: function() { var submit, submits, _i, _j, _len, _len2, _results; submits = $$('#com_submit'); - if (--cooldown.duration) { + if (--cooldown.duration > 0) { _results = []; for (_i = 0, _len = submits.length; _i < _len; _i++) { submit = submits[_i]; diff --git a/script.coffee b/script.coffee index 1d50ba75b..a4b3ce200 100644 --- a/script.coffee +++ b/script.coffee @@ -937,7 +937,7 @@ cooldown = cb: -> submits = $$ '#com_submit' - if --cooldown.duration + if --cooldown.duration > 0 for submit in submits submit.value = cooldown.duration else