Fix #9
This commit is contained in:
parent
222e919bba
commit
0e6a70f560
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user