Skip to content

Commit

Permalink
Homepage Search Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaiahJTurner committed Jun 28, 2014
1 parent a2e69c0 commit 517beb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ config.php
vendor/*
analytics/vendor/*
analytics/config/config.ini.php
command.sh
5 changes: 3 additions & 2 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ $(document).ready(updateFullHeightSections);
$(window).on('resize', updateFullHeightSections);

function updateFullHeightSections() {
$('.fullHeight').css('min-height', $(window).height() + 'px');
var height = $(window).height() - 54;
$('.fullHeight').css('min-height', height + 'px');
}

function updateSearchResults() {
Expand Down Expand Up @@ -217,4 +218,4 @@ function updateSearchResults() {
},
error: function(jqXHR, textStatus, errorThrown) {}
});
}
}

0 comments on commit 517beb7

Please sign in to comment.