i2psnark: Remove onload

This commit is contained in:
zzz
2020-05-11 19:33:00 +00:00
parent 2cd2f25c56
commit 6a36b79a95
3 changed files with 27 additions and 16 deletions

View File

@ -0,0 +1,15 @@
function requestAjax1() {
var url = ".ajax/xhr1.html";
var query = window.location.search;
if (query)
url += query;
ajax(url, "mainsection", ajaxDelay);
}
function initAjax() {
setTimeout(requestAjax1, ajaxDelay);
}
document.addEventListener("DOMContentLoaded", function() {
initAjax();
}, true);