Remove fellback in width/height cssHook

This commit is contained in:
timmywil 2011-06-07 00:04:17 -04:00
parent 6490c10c75
commit d66c3b6d84

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 ) {