open link in new tab
This commit is contained in:
parent
bceb2ccbe1
commit
84d0a87a5c
2 changed files with 2 additions and 5 deletions
|
|
@ -894,11 +894,7 @@ oml.hasDialogOrScreen = function() {
|
|||
};
|
||||
|
||||
oml.openLink = function(url) {
|
||||
if (Ox.startsWith(url, 'mailto:')) {
|
||||
window.open(url);
|
||||
} else {
|
||||
window.open('/url=' + encodeURIComponent(url), '_blank');
|
||||
}
|
||||
window.open(url);
|
||||
};
|
||||
|
||||
oml.reloadLists = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue