Fix displaying of the HTML notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
9c017084e5
commit
fd19d944cc
|
@ -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 New Issue