This commit is contained in:
Skylar Ittner 2017-11-19 01:52:35 -07:00
parent 222e919bba
commit 0e6a70f560

View File

@ -104,6 +104,12 @@ $(document).ready(function () {
console.log("app: received " + event.data);
}
});
setInterval(function () {
$.getJSON("mobile/index.php", {action: "ping"}, function (d) {
console.log("app: keepalive ping " + d.status);
});
}, 1000 * 60);
});
function quitapp() {