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) {