diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 7a8f829ea..6f71abb2f 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -234,7 +234,6 @@ QR = setTimers = (e) => QR.cooldown.types = e.detail $.on window, 'cooldown:timers', setTimers $.globalEval 'window.dispatchEvent(new CustomEvent("cooldown:timers", {detail: cooldowns}))' - QR.cooldown.types or= {} # XXX tmp workaround until all pages and the catalogs get the cooldowns var. $.off window, 'cooldown:timers', setTimers for type of QR.cooldown.types QR.cooldown.types[type] = +QR.cooldown.types[type] @@ -304,11 +303,6 @@ QR = QR.cooldown.unset start continue - if 'timeout' of cooldown - # XXX tmp conversion from previous cooldowns - QR.cooldown.unset start - continue - if isReply is cooldown.isReply # Only cooldowns relevant to this post can set the seconds variable: # reply cooldown with a reply, thread cooldown with a thread