js: Introduce new event `css-reloaded`

This commit is contained in:
Johannes Meyer 2022-03-08 16:05:32 +01:00
parent 0d032989e6
commit 95850750cf
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@
) )
).on('load', function() { ).on('load', function() {
$oldLink.remove(); $oldLink.remove();
$('head').trigger('css-reloaded');
}); });
$newLink.appendTo($('head')); $newLink.appendTo($('head'));