From 6ec930a54ac25dcc7a1a20b39ca9125967f7567a Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 30 Sep 2017 12:10:07 -0400 Subject: [PATCH] fix 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 6016a22..b405ab5 100644 --- a/contrib/static/overchan.js +++ b/contrib/static/overchan.js @@ -140,7 +140,7 @@ onready(function() { reloadImg(img); } reloadThreadJSON(j.message_id); - } else { + } else if (j && j.url) { // do redirect window.location.pathname = j.url; }