mor js
This commit is contained in:
parent
d6bbe584de
commit
493565257e
@ -47,7 +47,7 @@ var reloadImg = function(el) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
var reloadThreadJSON = function() {
|
var reloadThreadJSON = function() {
|
||||||
var url = window.location.href += "/json";
|
var url = window.location.pathname + "/json";
|
||||||
var ajax = new XMLHttpRequest();
|
var ajax = new XMLHttpRequest();
|
||||||
ajax.onreadystatechange = function() {
|
ajax.onreadystatechange = function() {
|
||||||
if(ajax.readyState == 4) {
|
if(ajax.readyState == 4) {
|
||||||
|
Reference in New Issue
Block a user