From 608fab37412d6e94fd4acef302807cd79bbcaa24 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 39d0d8920d..7480505d8b 100644 --- a/apps/updatenotification/js/legacy-notification.js +++ b/apps/updatenotification/js/legacy-notification.js @@ -17,5 +17,5 @@ window.addEventListener('DOMContentLoaded', 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' }); });