diff --git a/src/core.js b/src/core.js index 4a4ff95d..bba9883f 100644 --- a/src/core.js +++ b/src/core.js @@ -836,7 +836,7 @@ jQuery.extend({ if ( name.match( /float/i ) ) name = styleFloat; - if ( !force && elem.style[ name ] ) + if ( !force && elem.style && elem.style[ name ] ) ret = elem.style[ name ]; else if ( document.defaultView && document.defaultView.getComputedStyle ) {