Bug Tracker

Ticket #2105: curcss.patch

File curcss.patch, 402 bytes (added by ieure, 14 years ago)

Patch which corrects the issue.

  • jquery-1.2.2b2.js

    old new  
    836836                if ( name.match( /float/i ) )
    837837                        name = styleFloat;
    838838
    839                 if ( !force && elem.style[ name ] )
     839                if ( !force && elem.style && elem.style[ name ] )
    840840                        ret = elem.style[ name ];
    841841
    842842                else if ( document.defaultView && document.defaultView.getComputedStyle ) {