]> source.dussan.org Git - jquery.git/commitdiff
Remove fellback in width/height cssHook
authortimmywil <tim.willison@thisismedium.com>
Tue, 7 Jun 2011 04:04:17 +0000 (00:04 -0400)
committertimmywil <tim.willison@thisismedium.com>
Tue, 7 Jun 2011 04:04:17 +0000 (00:04 -0400)
src/css.js

index cc249ce79854ebe07e9da9b79da79eec253c822b..fcc784d294e64de74a5ae62b8aaefe3a2aaf990f 100644 (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 ) {