mirror of
https://github.com/nextcloud/server.git
synced 2026-03-02 21:41:12 -05:00
Merge pull request #23195 from nextcloud/backport/23175/stable20
[stable20] Fix legacy update notifications
This commit is contained in:
commit
ee1a6ad434
1 changed files with 1 additions and 1 deletions
|
|
@ -17,5 +17,5 @@ window.addEventListener('DOMContentLoaded', 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' });
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue