Archived
1
0

i hate js

This commit is contained in:
Jeff Becker 2017-09-30 09:06:10 -04:00
parent b823223bd1
commit 394a4a65e1
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -130,7 +130,7 @@ onready(function() {
var msg = err || "posted"; var msg = err || "posted";
console.log(msg, j.url); console.log(msg, j.url);
e.innerHTML = msg; e.innerHTML = msg;
if(window.location.pathname == j.url) { if(window.location.pathname === j.url) {
setTimeout(function() { setTimeout(function() {
e.disabled = false; e.disabled = false;
e.innerHTML = origText; e.innerHTML = origText;