Remove fellback in width/height cssHook
This commit is contained in:
parent
6490c10c75
commit
d66c3b6d84
1 changed files with 1 additions and 1 deletions
|
@ -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 ) {
|
||||||
|
|
Loading…
Reference in a new issue