From 31adfb8a9f1357050b3e86ac00317bc7caf379dc Mon Sep 17 00:00:00 2001
From: Eric Lippmann <eric.lippmann@netways.de>
Date: Wed, 6 Apr 2016 12:09:49 +0200
Subject: [PATCH] Don't add the port twice when reloading CSS

---
 public/js/icinga/ui.js | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/public/js/icinga/ui.js b/public/js/icinga/ui.js
index c5c90860e..af60a3ce9 100644
--- a/public/js/icinga/ui.js
+++ b/public/js/icinga/ui.js
@@ -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() }