make sure links open in new tabs

This commit is contained in:
Jan-Christoph Borchardt 2016-03-09 18:49:46 +01:00
parent 822541b689
commit ecbe4aea31
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,