From 1fd558845784b4bb648769bd9f990045d2756c8d Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 30 Sep 2017 08:06:32 -0400 Subject: [PATCH] param order --- contrib/static/overchan.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/static/overchan.js b/contrib/static/overchan.js index 9c93c56..bb6aba6 100644 --- a/contrib/static/overchan.js +++ b/contrib/static/overchan.js @@ -88,10 +88,10 @@ onready(function() { e.innerHTML = "posting "; submitPost(document.forms[0], e, function(err) { e.innerHTML = err || "posted"; - setTimeout(1000, function() { + setTimeout(function() { e.disabled = false; e.innerHTML = origText; - }); + }, 1000); var img = document.getElementById("captcha_img"); if (img) { reloadImg(img);