Merge pull request #23050 from owncloud/href-target-blank

make sure links open in new tabs
This commit is contained in:
Thomas Müller 2016-03-10 10:54:53 +01:00
commit 41aae971a9
1 changed files with 1 additions and 1 deletions

View File

@ -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,