open external link
This commit is contained in:
parent
e1d0e68797
commit
7dd54976a5
4 changed files with 16 additions and 3 deletions
|
|
@ -40,6 +40,10 @@ angular.module('copayApp.services').factory('go', function($window, $location) {
|
|||
}
|
||||
};
|
||||
|
||||
root.openExternalLink = function(url) {
|
||||
var ref = window.open(url, '_blank', 'location=no');
|
||||
};
|
||||
|
||||
root.go = function(path) {
|
||||
var parts = path.split('#');
|
||||
$location.path(parts[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue