Skip to content

Commit

Permalink
Fix legacy update notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnmtth committed Oct 4, 2020
1 parent f312cfa commit 638a180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/updatenotification/js/legacy-notification.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' });
});

0 comments on commit 638a180

Please sign in to comment.