diff options
author | Joas Schilling <coding@schilljs.com> | 2018-01-11 13:02:21 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-01-11 13:04:56 +0100 |
commit | fd19d944cc387dd2636c6fa71c6f78a9bb2f4994 (patch) | |
tree | 98d5e8cd8eddec8c4b2fa056e9acbff4e66a8fab /apps/updatenotification | |
parent | 9c017084e50a20591e3b5a5c2842101a540e7fb2 (diff) | |
download | nextcloud-server-fd19d944cc387dd2636c6fa71c6f78a9bb2f4994.tar.gz nextcloud-server-fd19d944cc387dd2636c6fa71c6f78a9bb2f4994.zip |
Fix displaying of the HTML notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/updatenotification')
-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' }); }); |