1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 06:45:55 +00:00

js: code cleanup

This commit is contained in:
Andrew Dolgov
2010-11-19 18:49:06 +03:00
parent 38e6aa7704
commit df1c35f46c
3 changed files with 11 additions and 12 deletions

View File

@@ -279,12 +279,10 @@ function init() {
if (!genericSanityCheck())
return;
var params = "&ua=" + param_escape(navigator.userAgent);
loading_set_progress(20);
new Ajax.Request("backend.php", {
parameters: "backend.php?op=rpc&subop=sanityCheck" + params,
parameters: {op: "rpc", subop: "sanityCheck"},
onComplete: function(transport) {
backend_sanity_check_callback(transport);
} });