Fix legacy update notifications

Signed-off-by: mrtnmtth <mrtn.mtth@gmx.de>
This commit is contained in:
mrtnmtth 2020-10-04 15:51:44 +02:00 committed by backportbot[bot]
parent 3759bef671
commit aa989b7777
1 changed files with 1 additions and 1 deletions

View File

@ -17,5 +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.showHtml(element, { type: 'error' });
OC.Notification.showHtml(element.prop('outerHTML'), { type: 'error' });
});