Fix displaying of the HTML notification

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2018-01-11 13:02:21 +01:00
parent 9c017084e5
commit fd19d944cc
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 1 additions and 6 deletions

View File

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