From ecbe4aea31feec3907e92f28d7e50364d7af2894 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 9 Mar 2016 18:49:46 +0100 Subject: [PATCH] make sure links open in new tabs --- apps/updatenotification/js/notification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/updatenotification/js/notification.js b/apps/updatenotification/js/notification.js index 9d22bcb230..810b9c168a 100644 --- a/apps/updatenotification/js/notification.js +++ b/apps/updatenotification/js/notification.js @@ -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 = $('').attr('href', docLink).text(text); + element = $('').attr('href', docLink).attr('target','_blank').text(text); OC.Notification.showTemporary( element,