aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2020-10-05 15:03:15 +0200
committerGitHub <noreply@github.com>2020-10-05 15:03:15 +0200
commit7511e710cc2c452707eed058ff920adff4d828d2 (patch)
tree66e87671e97d791341dab252e75096c233e9d6c7
parentb186852f9d387ac3517ae62804d5b81f178376c9 (diff)
parent5cb5b156b2b0be68459813920ceda26e63c0011a (diff)
downloadnextcloud-server-7511e710cc2c452707eed058ff920adff4d828d2.tar.gz
nextcloud-server-7511e710cc2c452707eed058ff920adff4d828d2.zip
Merge pull request #23175 from mrtnmtth/master
Fix legacy update notifications
-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 39d0d8920de..7480505d8be 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 = $('<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' });
});