add reload button to disconnected-page

This commit is contained in:
Unrud 2018-06-25 06:12:37 +02:00
parent b3fa4c1b27
commit 16a807f144
4 changed files with 20 additions and 11 deletions

View file

@ -378,6 +378,10 @@ window.addEventListener("load", function() {
window.history.back();
}
};
document.getElementById("reloadbutton").addEventListener("click",
function(e) {
location.reload();
});
pad.addEventListener("touchstart", handleStart, false);
pad.addEventListener("touchend", handleEnd, false);
pad.addEventListener("touchcancel", handleCancel, false);