workaround bug of urihandler in firefox

This commit is contained in:
Matias Alejo Garcia 2014-07-07 16:57:57 -03:00
commit 164d0c198a

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