Merge pull request #3160 from Icinga/fix/sidebar-position

JS: Fix sidebar position
This commit is contained in:
lippserd 2017-11-27 15:13:45 +01:00 committed by GitHub
commit bd4edfc89b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -626,7 +626,7 @@
$main.css({
top: $header.css('height')
});
if (! $headerLogo.length) {
if (!! $headerLogo.length) {
$sidebar.css({
top: $headerLogo.offset().top + $headerLogo.outerHeight()
});