mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Revert "js: Don't bypass our cache when reloading CSS"
This reverts commit 1c7e5b31bfaf83517edfbf33abb59cd291a43413. fixes #4417 refs #4340
This commit is contained in:
parent
decf8c0588
commit
54acf35c69
@ -112,7 +112,10 @@
|
||||
if ($oldLink.hasAttr('type') && $oldLink.attr('type').indexOf('css') > -1) {
|
||||
var $newLink = $oldLink.clone().attr(
|
||||
'href',
|
||||
$(this).attr('href')
|
||||
icinga.utils.addUrlParams(
|
||||
$oldLink.attr('href'),
|
||||
{ id: new Date().getTime() } // Only required for Firefox to reload CSS automatically
|
||||
)
|
||||
).on('load', function() {
|
||||
$oldLink.remove();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user