Fixed snark initAjax method so it runs (I'm SURE it did before...)

This commit is contained in:
str4d
2012-07-17 19:32:22 +00:00
parent 5c1a1b13f4
commit 43fd5caf30

View File

@ -234,7 +234,7 @@ public class I2PSnarkServlet extends DefaultServlet {
"<script type=\"text/javascript\">\n" +
"var failMessage = \"<div class=\"routerdown\"><b>" + _("Router is down") + "<\\/b></div>\";\n" +
"function requestAjax1() { ajax(\"/i2psnark/.ajax/xhr1.html" + peerString + "\", \"mainsection\", " + (delay*1000) + "); }\n" +
"function initAjax(delayMs) { setTimeout(requestAjax1, " + (delay*1000) +"); }\n" +
"function initAjax() { setTimeout(requestAjax1, " + (delay*1000) +"); }\n" +
"</script>\n");
}
}