Merge pull request #842 from matiu/bug/workaround-urihandler

workaround bug of urihandler in firefox
This commit is contained in:
Gustavo Maximiliano Cortez 2014-07-07 17:46:48 -03:00
commit 48fb8ed2c4
1 changed files with 1 additions and 2 deletions

View File

@ -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());