summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2016-03-09 18:49:46 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2016-03-09 18:49:46 +0100
commitecbe4aea31feec3907e92f28d7e50364d7af2894 (patch)
tree564567f1bb185da72fbe2d7d70bd18f9737f1f67 /apps/updatenotification
parent822541b6899f486f479b1d9ec43948c365388e73 (diff)
downloadnextcloud-server-ecbe4aea31feec3907e92f28d7e50364d7af2894.tar.gz
nextcloud-server-ecbe4aea31feec3907e92f28d7e50364d7af2894.zip
make sure links open in new tabs
Diffstat (limited to 'apps/updatenotification')
-rw-r--r--apps/updatenotification/js/notification.js2
1 files changed, 1 insertions, 1 deletions
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 = $('<a>').attr('href', docLink).text(text);
+ element = $('<a>').attr('href', docLink).attr('target','_blank').text(text);
OC.Notification.showTemporary(
element,