workaround bug of urihandler in firefox

This commit is contained in:
Matias Alejo Garcia 2014-07-07 16:57:57 -03:00
parent d4c9c87076
commit 164d0c198a
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());