mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-04 01:17:17 +00:00
Trying to fix this monstrosity #3
This commit is contained in:
@@ -168,7 +168,7 @@ function fd(url,gd,hd,id){
|
||||
switch(kd){
|
||||
case'application/json':
|
||||
if (jd.responseText.indexOf('[]') < 0) {
|
||||
gd((jd.responseText==''?null:eval('('+jd.responseText+')')));
|
||||
gd(jd.responseText==''?null:eval('('+jd.responseText+')'));
|
||||
}
|
||||
break;
|
||||
case'text/plain':case'text/html':gd(jd.responseText);break;
|
||||
|
||||
Reference in New Issue
Block a user