From ecbe4aea31feec3907e92f28d7e50364d7af2894 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 9 Mar 2016 18:49:46 +0100 Subject: make sure links open in new tabs --- apps/updatenotification/js/notification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/updatenotification') diff --git a/apps/updatenotification/js/notification.js b/apps/updatenotification/js/notification.js index 9d22bcb2309..810b9c168af 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, -- cgit v1.2.3