Remove fellback in width/height cssHook

1.7/enhancement_8685
timmywil 2011-06-07 00:04:17 -04:00
parent 6490c10c75
commit d66c3b6d84
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ jQuery.curCSS = jQuery.css;
jQuery.each(["height", "width"], function( i, name ) {
jQuery.cssHooks[ name ] = {
get: function( elem, computed, extra ) {
var val, fellback = false;
var val;
if ( computed ) {
if ( elem.offsetWidth !== 0 ) {