Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authormrtnmtth <mrtn.mtth@gmx.de>2020-10-04 16:51:44 +0300
committermrtnmtth <mrtn.mtth@gmx.de>2020-10-04 23:42:08 +0300
commit5cb5b156b2b0be68459813920ceda26e63c0011a (patch)
treec6b3ae74fd8d913a4559aa0e406cf16deeff4395 /apps
parentf312cfade043bf7f8139ecd39ab196222a50a6c2 (diff)
Fix legacy update notifications
Signed-off-by: mrtnmtth <mrtn.mtth@gmx.de>
Diffstat (limited to 'apps')
-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' });
});