1
Vote

SCRIPT438: Object doesn't support property or method 'delay'

description

SCRIPT438: Object doesn't support property or method 'delay'
jquery.pinify.js, line 180 character 21

This error appears when using the pinTeaser with 'sticky:false'

jQuery pinify Plugin v1.2
Jquery 1.7.2

Changing the line 180 from
                this.delay(options.timeout).fadeOut('slow');
to
                teaser.delay(options.timeout).fadeOut('slow');
corrects the problem.
(teaser is a variable declared on line 99 : var teaser = $(this);)

If you want to correct the minimised version, change from
this.delay(o.timeout).fadeOut("slow")
to
j.delay(o.timeout).fadeOut("slow")

comments