From fd19d944cc387dd2636c6fa71c6f78a9bb2f4994 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 11 Jan 2018 13:02:21 +0100 Subject: [PATCH] Fix displaying of the HTML notification Signed-off-by: Joas Schilling --- apps/updatenotification/js/notification.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/updatenotification/js/notification.js b/apps/updatenotification/js/notification.js index a2e78cecb0972..a588ede5ffd6f 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 = $('').attr('href', oc_updateState.updateLink).attr('target','_blank').text(text); - OC.Notification.show(element, - { - isHTML: true, - type: 'error' - } - ); + OC.Notification.showHtml(element, { type: 'error' }); });