Browse Source

Fix legacy update notifications

Signed-off-by: mrtnmtth <mrtn.mtth@gmx.de>
tags/v21.0.0beta1
mrtnmtth 3 years ago
parent
commit
5cb5b156b2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/updatenotification/js/legacy-notification.js

+ 1
- 1
apps/updatenotification/js/legacy-notification.js View File

@@ -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…
Cancel
Save