Skip to content

Commit

Permalink
Finally fixing webkit bug when searching on report list.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdorn committed Jul 5, 2012
1 parent 2020069 commit 872f534
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions public/css/report_list.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#table_of_contents .directory .directory {
background: url("../images/list_image.png") no-repeat top left;
}
#report_list h1 {

#report_list {
height: auto;
}
#report_list h2 {
font-size: 1.3em;
Expand Down
5 changes: 3 additions & 2 deletions public/js/report_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ $(document).ready(function() {
//there is a bug with webkit where the page isn't redrawn
//when changing the innerhtml
var refresh_report_list = function() {
var height = $('#report_list').height('height').height();
$('#report_list').height(height+1);
$('#report_list').css('display','inline-block');
$('#report_list').offset();
$('#report_list').css('display','block');
};

//make the search bar fixed when scolling down through reports
Expand Down

0 comments on commit 872f534

Please sign in to comment.