mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
Merge pull request #7791 from nextcloud/bugfix/noid/fix-update-notification
Fix displaying of the HTML update notification
This commit is contained in:
commit
f3eb9eeb1d
1 changed files with 1 additions and 6 deletions
|
|
@ -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' });
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue