Skip to content

Commit

Permalink
add extra pixel for firefox4
Browse files Browse the repository at this point in the history
  • Loading branch information
mobz committed Jul 8, 2011
1 parent c8ae704 commit 9793ed5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/es/widgets.js
Expand Up @@ -88,11 +88,10 @@
},
appendTo: function(parent) {
if(parent) {
var height = parent.height() || ( $(document).height() - parent.offset().top - 40 ); // 40 = height in px of .uiTable-tools
var height = parent.height() || ( $(document).height() - parent.offset().top - 41 ); // 41 = height in px of .uiTable-tools + uiTable-header
var width = parent.width();
this.el.width( width );
this.body.width( width )
.height( height );
this.body.width( width ).height( height );
}
this._super(parent);
},
Expand Down

0 comments on commit 9793ed5

Please sign in to comment.