Skip to content

Commit f3eb9ee

Browse files
authored
Merge pull request #7791 from nextcloud/bugfix/noid/fix-update-notification
Fix displaying of the HTML update notification
2 parents cc410fb + fd19d94 commit f3eb9ee

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

apps/updatenotification/js/notification.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,5 @@ $(document).ready(function(){
1717
var text = t('core', '{version} is available. Get more information on how to update.', {version: oc_updateState.updateVersion}),
1818
element = $('<a>').attr('href', oc_updateState.updateLink).attr('target','_blank').text(text);
1919

20-
OC.Notification.show(element,
21-
{
22-
isHTML: true,
23-
type: 'error'
24-
}
25-
);
20+
OC.Notification.showHtml(element, { type: 'error' });
2621
});

0 commit comments

Comments
 (0)