From aa989b777719c9284881be8cc61c9694d3c712e6 Mon Sep 17 00:00:00 2001 From: mrtnmtth Date: Sun, 4 Oct 2020 15:51:44 +0200 Subject: [PATCH] Fix legacy update notifications Signed-off-by: mrtnmtth --- apps/updatenotification/js/legacy-notification.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/updatenotification/js/legacy-notification.js b/apps/updatenotification/js/legacy-notification.js index d45ba8793c..8317a8daa3 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 = $('').attr('href', oc_updateState.updateLink).attr('target','_blank').text(text); - OC.Notification.showHtml(element, { type: 'error' }); + OC.Notification.showHtml(element.prop('outerHTML'), { type: 'error' }); });