diff options
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' }); }); |