mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
Don't add the port twice when reloading CSS
This commit is contained in:
parent
0f538e7f06
commit
31adfb8a9f
@ -100,9 +100,6 @@
|
|||||||
var $oldLink = $(this);
|
var $oldLink = $(this);
|
||||||
if ($oldLink.hasAttr('type') && $oldLink.attr('type').indexOf('css') > -1) {
|
if ($oldLink.hasAttr('type') && $oldLink.attr('type').indexOf('css') > -1) {
|
||||||
var base = location.protocol + '//' + location.host;
|
var base = location.protocol + '//' + location.host;
|
||||||
if (location.port) {
|
|
||||||
base += location.port;
|
|
||||||
}
|
|
||||||
var url = icinga.utils.addUrlParams(
|
var url = icinga.utils.addUrlParams(
|
||||||
$(this).attr('href'),
|
$(this).attr('href'),
|
||||||
{ id: new Date().getTime() }
|
{ id: new Date().getTime() }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user