diff --git a/js/init.js b/js/init.js index 6923a9e6d..dc66b63be 100644 --- a/js/init.js +++ b/js/init.js @@ -15,7 +15,15 @@ angular.element(document).ready(function() { if (!window.ignoreMobilePause) { window.location = '#!'; } - }); + }, false); + + document.addEventListener('backbutton', function() { + window.location = '#!/homeWallet'; + }, false); + + document.addEventListener("menubutton", function() { + window.location = '#!/more'; + }, false); setTimeout(function() { navigator.splashscreen.hide();