From 47ca9bd32fc872d29fe8a45b310f1b7f9f40bda2 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 27 Nov 2017 15:12:15 +0100 Subject: [PATCH] JS: Fix sidebar position --- public/js/icinga/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/icinga/ui.js b/public/js/icinga/ui.js index 866bea4b2..1c98d8f4e 100644 --- a/public/js/icinga/ui.js +++ b/public/js/icinga/ui.js @@ -626,7 +626,7 @@ $main.css({ top: $header.css('height') }); - if (! $headerLogo.length) { + if (!! $headerLogo.length) { $sidebar.css({ top: $headerLogo.offset().top + $headerLogo.outerHeight() });