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);
|
||||
if ($oldLink.hasAttr('type') && $oldLink.attr('type').indexOf('css') > -1) {
|
||||
var base = location.protocol + '//' + location.host;
|
||||
if (location.port) {
|
||||
base += location.port;
|
||||
}
|
||||
var url = icinga.utils.addUrlParams(
|
||||
$(this).attr('href'),
|
||||
{ id: new Date().getTime() }
|
||||
|
|
Loading…
Reference in New Issue