Commit d66c3b6d authored by timmywil's avatar timmywil

Remove fellback in width/height cssHook

parent 6490c10c
...@@ -168,7 +168,7 @@ jQuery.curCSS = jQuery.css; ...@@ -168,7 +168,7 @@ jQuery.curCSS = jQuery.css;
jQuery.each(["height", "width"], function( i, name ) { jQuery.each(["height", "width"], function( i, name ) {
jQuery.cssHooks[ name ] = { jQuery.cssHooks[ name ] = {
get: function( elem, computed, extra ) { get: function( elem, computed, extra ) {
var val, fellback = false; var val;
if ( computed ) { if ( computed ) {
if ( elem.offsetWidth !== 0 ) { if ( elem.offsetWidth !== 0 ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment