slight refactor and indent
This commit is contained in:
parent
78e68bbef2
commit
fc3ffcc681
3
main.js
3
main.js
|
@ -1542,7 +1542,7 @@ function queryremote(params)
|
||||||
var data = {};
|
var data = {};
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return decryptstring(xhr.responseText)
|
decryptstring(xhr.responseText)
|
||||||
.then(decrypted =>
|
.then(decrypted =>
|
||||||
{
|
{
|
||||||
data = JSON.parse(decrypted);
|
data = JSON.parse(decrypted);
|
||||||
|
@ -1577,6 +1577,7 @@ function queryremote(params)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
xhr.send(paramlist.join("&"));
|
xhr.send(paramlist.join("&"));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue