diff --git a/js/controllers/settings.js b/js/controllers/settings.js index c8f1532f8..4a09d30b3 100644 --- a/js/controllers/settings.js +++ b/js/controllers/settings.js @@ -74,8 +74,6 @@ angular.module('copayApp.controllers').controller('SettingsController', unitToSatoshi: $scope.selectedUnit.value, })); - var target = ($window.location.origin !== 'null' ? $window.location.origin : ''); - - $window.location.href = target; + $location.path('/copayers'); }; }); diff --git a/js/routes.js b/js/routes.js index 3f7308341..9db46fdc1 100644 --- a/js/routes.js +++ b/js/routes.js @@ -67,7 +67,7 @@ angular .module('copayApp') .config(function($locationProvider) { $locationProvider - .html5Mode(true) + .html5Mode(false) .hashPrefix('!'); }) .run(function($rootScope, $location) { diff --git a/js/services/uriHandler.js b/js/services/uriHandler.js index 59a8304c0..da67ab4be 100644 --- a/js/services/uriHandler.js +++ b/js/services/uriHandler.js @@ -5,7 +5,10 @@ var UriHandler = function() {}; UriHandler.prototype.register = function() { var base = window.location.origin + '/'; var url = base + '#/uri-payment/%s'; - navigator.registerProtocolHandler('bitcoin', url, 'Copay'); + + if(navigator.registerProtocolHandler) { + navigator.registerProtocolHandler('bitcoin', url, 'Copay'); + } }; angular.module('copayApp.services').value('uriHandler', new UriHandler()); diff --git a/views/copayers.html b/views/copayers.html index 593299d66..9df0df307 100644 --- a/views/copayers.html +++ b/views/copayers.html @@ -2,7 +2,7 @@
- Copay + Copay
diff --git a/views/errors/404.html b/views/errors/404.html index 412bd093e..d75d4b922 100644 --- a/views/errors/404.html +++ b/views/errors/404.html @@ -1,7 +1,7 @@
- Copay + Copay

404

Page not found

-

go back...

+

go back...

diff --git a/views/home.html b/views/home.html index 3d9725e5a..8b9a0119c 100644 --- a/views/home.html +++ b/views/home.html @@ -1,25 +1,25 @@
diff --git a/views/import.html b/views/import.html index 02c3b0d62..417eab447 100644 --- a/views/import.html +++ b/views/import.html @@ -5,7 +5,7 @@
- Copay + Copay
@@ -20,7 +20,7 @@
- « Back + « Back diff --git a/views/includes/sidebar-mobile.html b/views/includes/sidebar-mobile.html index 3ed69cedb..5b634fe1a 100644 --- a/views/includes/sidebar-mobile.html +++ b/views/includes/sidebar-mobile.html @@ -1,8 +1,8 @@
- - + + v{{version}} LIVENET @@ -39,8 +39,8 @@
    -