aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimmywil <tim.willison@thisismedium.com>2011-06-07 00:04:17 -0400
committertimmywil <tim.willison@thisismedium.com>2011-06-07 00:04:17 -0400
commitd66c3b6d84c2af1132727c5be335bc2860dcbda9 (patch)
tree4c58fcf47f0e5d3334bbe1c671ce2cd642488c38
parent6490c10c751af6ad8cd119526db227939cdcffe9 (diff)
downloadjquery-d66c3b6d84c2af1132727c5be335bc2860dcbda9.tar.gz
jquery-d66c3b6d84c2af1132727c5be335bc2860dcbda9.zip
Remove fellback in width/height cssHook
-rw-r--r--src/css.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css.js b/src/css.js
index cc249ce79..fcc784d29 100644
--- a/src/css.js
+++ b/src/css.js
@@ -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 ) {