mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Remove fellback in width/height cssHook
This commit is contained in:
parent
6490c10c75
commit
d66c3b6d84
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user