Merge pull request #23050 from owncloud/href-target-blank
make sure links open in new tabs
This commit is contained in:
commit
41aae971a9
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ $(document).ready(function(){
|
|||
version = oc_updateState.updateVersion,
|
||||
docLink = oc_updateState.updateLink,
|
||||
text = t('core', '{version} is available. Get more information on how to update.', {version: version}),
|
||||
element = $('<a>').attr('href', docLink).text(text);
|
||||
element = $('<a>').attr('href', docLink).attr('target','_blank').text(text);
|
||||
|
||||
OC.Notification.showTemporary(
|
||||
element,
|
||||
|
|
Loading…
Reference in a new issue