Merge pull request #842 from matiu/bug/workaround-urihandler
workaround bug of urihandler in firefox
This commit is contained in:
commit
48fb8ed2c4
1 changed files with 1 additions and 2 deletions
|
|
@ -5,8 +5,7 @@ var UriHandler = function() {};
|
||||||
UriHandler.prototype.register = function() {
|
UriHandler.prototype.register = function() {
|
||||||
var base = window.location.origin + '/';
|
var base = window.location.origin + '/';
|
||||||
var url = base + '#/uri_payment/%s';
|
var url = base + '#/uri_payment/%s';
|
||||||
navigator.registerProtocolHandler('bitcoin',
|
// navigator.registerProtocolHandler('bitcoin', url, 'Copay');
|
||||||
url, 'Copay');
|
|
||||||
};
|
};
|
||||||
|
|
||||||
angular.module('copayApp.services').value('uriHandler', new UriHandler());
|
angular.module('copayApp.services').value('uriHandler', new UriHandler());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue