Add support for Android back button
This commit is contained in:
parent
4283212832
commit
da5978e390
@ -8,7 +8,7 @@
|
||||
function initCordova() {
|
||||
// Handle back button to close things
|
||||
document.addEventListener("backbutton", function (event) {
|
||||
|
||||
router.navigate("/home");
|
||||
}, false);
|
||||
|
||||
document.addEventListener("deviceready", function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user