diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-01-11 14:23:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-11 14:23:33 +0100 |
commit | f3eb9eeb1d87d7b84848864c4dbb769916b44b63 (patch) | |
tree | 5e63be49980b720f252edbc367ea0c964234a8f9 /apps | |
parent | cc410fb9ab0d658235ea9d4360ec5d468cd0a3aa (diff) | |
parent | fd19d944cc387dd2636c6fa71c6f78a9bb2f4994 (diff) | |
download | nextcloud-server-f3eb9eeb1d87d7b84848864c4dbb769916b44b63.tar.gz nextcloud-server-f3eb9eeb1d87d7b84848864c4dbb769916b44b63.zip |
Merge pull request #7791 from nextcloud/bugfix/noid/fix-update-notification
Fix displaying of the HTML update notification
Diffstat (limited to 'apps')
-rw-r--r-- | apps/updatenotification/js/notification.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/updatenotification/js/notification.js b/apps/updatenotification/js/notification.js index a2e78cecb09..a588ede5ffd 100644 --- a/apps/updatenotification/js/notification.js +++ b/apps/updatenotification/js/notification.js @@ -17,10 +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.show(element, - { - isHTML: true, - type: 'error' - } - ); + OC.Notification.showHtml(element, { type: 'error' }); }); |