From 77da6ef8a78b866cfe6946f99278a487c23704c0 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sat, 4 Jun 2011 01:06:28 +0200 Subject: [PATCH] I hate you. --- 4chan_x.user.js | 4 ++-- script.coffee | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index dd5422807..5e6f3d422 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1106,8 +1106,8 @@ } } if ($.config('Cooldown')) { - duration = qr.sage ? 60000 : 30000; - $.setValue(g.BOARD + '/cooldown', Date.now() + duration); + duration = qr.sage ? 60 : 30; + $.setValue(g.BOARD + '/cooldown', Date.now() + duration * 1000); cooldown.start(); } } diff --git a/script.coffee b/script.coffee index e49ef1f2c..9aed4c739 100644 --- a/script.coffee +++ b/script.coffee @@ -840,8 +840,8 @@ qr = else $.rm dialog if $.config 'Cooldown' - duration = if qr.sage then 60000 else 30000 - $.setValue g.BOARD+'/cooldown', Date.now() + duration + duration = if qr.sage then 60 else 30 + $.setValue g.BOARD+'/cooldown', Date.now() + duration * 1000 cooldown.start() Recaptcha.reload()