Bug Tracker

Ticket #3601: Ticket #3601.patch

File Ticket #3601.patch, 544 bytes (added by DanielKatz, 11 years ago)

this fixes the case where the callback function is defined in another iframe

  • src/fx.js

     
    205205                        complete: fn || !fn && easing ||
    206206                                jQuery.isFunction( speed ) && speed,
    207207                        duration: speed,
    208                         easing: fn && easing || easing && easing.constructor != Function && easing
     208                        easing: fn && easing || easing && easing.constructor.toString() != Function.toString() && easing
    209209                };
    210210
    211211                opt.duration = jQuery.fx.off ? 0 : typeof opt.duration == 'number' ? opt.duration :