summaryrefslogtreecommitdiffstats
path: root/apps/updatenotification
diff options
context:
space:
mode:
authormrtnmtth <mrtn.mtth@gmx.de>2020-10-04 15:51:44 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-10-05 14:08:14 +0000
commitaa989b777719c9284881be8cc61c9694d3c712e6 (patch)
tree00186d06d3f90a5fee7a79041134432b5fc0a3ec /apps/updatenotification
parent3759bef671ba50f8b444151908d7d71b48548642 (diff)
downloadnextcloud-server-aa989b777719c9284881be8cc61c9694d3c712e6.tar.gz
nextcloud-server-aa989b777719c9284881be8cc61c9694d3c712e6.zip
Fix legacy update notifications
Signed-off-by: mrtnmtth <mrtn.mtth@gmx.de>
Diffstat (limited to 'apps/updatenotification')
-rw-r--r--apps/updatenotification/js/legacy-notification.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/updatenotification/js/legacy-notification.js b/apps/updatenotification/js/legacy-notification.js
index d45ba8793c4..8317a8daa3a 100644
--- a/apps/updatenotification/js/legacy-notification.js
+++ b/apps/updatenotification/js/legacy-notification.js
@@ -17,5 +17,5 @@ $(document).ready(function(){
var text = t('core', '{version} is available. Get more information on how to update.', {version: oc_updateState.updateVersion}),
element = $('<a>').attr('href', oc_updateState.updateLink).attr('target','_blank').text(text);
- OC.Notification.showHtml(element, { type: 'error' });
+ OC.Notification.showHtml(element.prop('outerHTML'), { type: 'error' });
});