From 394a4a65e15ec3ec3717b53c41572bb19300b4d0 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 30 Sep 2017 09:06:10 -0400 Subject: [PATCH] i hate js --- contrib/static/overchan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/static/overchan.js b/contrib/static/overchan.js index 2103b69..6016a22 100644 --- a/contrib/static/overchan.js +++ b/contrib/static/overchan.js @@ -130,7 +130,7 @@ onready(function() { var msg = err || "posted"; console.log(msg, j.url); e.innerHTML = msg; - if(window.location.pathname == j.url) { + if(window.location.pathname === j.url) { setTimeout(function() { e.disabled = false; e.innerHTML = origText;