mirror of https://github.com/BTCPrivate/copay.git
workaround bug of urihandler in firefox
This commit is contained in:
parent
d4c9c87076
commit
164d0c198a
|
@ -5,8 +5,7 @@ var UriHandler = function() {};
|
|||
UriHandler.prototype.register = function() {
|
||||
var base = window.location.origin + '/';
|
||||
var url = base + '#/uri_payment/%s';
|
||||
navigator.registerProtocolHandler('bitcoin',
|
||||
url, 'Copay');
|
||||
// navigator.registerProtocolHandler('bitcoin', url, 'Copay');
|
||||
};
|
||||
|
||||
angular.module('copayApp.services').value('uriHandler', new UriHandler());
|
||||
|
|
Loading…
Reference in New Issue