Skip to content
Permalink
Browse files

Remove fellback in width/height cssHook

  • Loading branch information...
timmywil
timmywil committed Jun 7, 2011
1 parent 6490c10 commit d66c3b6d84c2af1132727c5be335bc2860dcbda9
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 ) {

0 comments on commit d66c3b6

Please sign in to comment.
You can’t perform that action at this time.