|
|
|
@ -4524,7 +4524,10 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
@@ -4524,7 +4524,10 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|
|
|
|
url.search('https://t.me/') === 0) { |
|
|
|
|
target = '_self' |
|
|
|
|
} |
|
|
|
|
window.open(url, target) |
|
|
|
|
var popup = window.open(url, target) |
|
|
|
|
try { |
|
|
|
|
popup.opener = null; |
|
|
|
|
} catch (e) {} |
|
|
|
|
}) |
|
|
|
|
return true |
|
|
|
|
} |
|
|
|
@ -4649,8 +4652,11 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
@@ -4649,8 +4652,11 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|
|
|
|
return true |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
var wnd = window.open(url, '_blank') |
|
|
|
|
return wnd ? true : false |
|
|
|
|
var popup = window.open(url, '_blank') |
|
|
|
|
try { |
|
|
|
|
popup.opener = null; |
|
|
|
|
} catch (e) {} |
|
|
|
|
return popup ? true : false |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function shareUrl (url, text, shareLink) { |
|
|
|
|