From 493565257e54b6d1e2e48a4b7dd2aad7768fb4d9 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sat, 30 Sep 2017 08:42:21 -0400 Subject: [PATCH] mor 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 ef91358..9266407 100644 --- a/contrib/static/overchan.js +++ b/contrib/static/overchan.js @@ -47,7 +47,7 @@ var reloadImg = function(el) { }; var reloadThreadJSON = function() { - var url = window.location.href += "/json"; + var url = window.location.pathname + "/json"; var ajax = new XMLHttpRequest(); ajax.onreadystatechange = function() { if(ajax.readyState == 4) {