add reload button to disconnected-page
This commit is contained in:
parent
b3fa4c1b27
commit
16a807f144
4 changed files with 20 additions and 11 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue