diff --git a/src/js/init.js b/src/js/init.js index 8cacff9a5..a0070e3f7 100644 --- a/src/js/init.js +++ b/src/js/init.js @@ -36,10 +36,10 @@ angular.element(document).ready(function() { document.addEventListener('backbutton', function() { var loc = window.location; if (loc.toString().match(/index\.html#\/$/)) { - navigator.app.exitApp(); + navigator.app.exitApp(); } else { - window.location = '#/walletHome'; + window.location = '#/cordova/walletHome'; } }, false);