akv2 / MaxImage

The first jQuery plugin to use jQuery Cycle plugin as a fullscreen background slideshow.

Home Page:http://www.aaronvanderzwan.com/maximage/2.0/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setTimeout errors in firefox

drasgardian opened this issue · comments

I got some console errors in firefox when using maximage along with jquery cycle. And maximage would only apply to the first element of the cycle.

Error Message:

useless setTimeout call (missing quotes around argument?)

I fixed it with this change on line 622:

  •                                                   to = setTimeout( Adjust[settings]($self), 200 );
    
  •                                                   to = setTimeout(function(){Adjust[settings]($self);}, 200 );
    

In the customized example, the errors gets thrown only on the youtube slide.

same error here: http://www.aaronvanderzwan.com/maximage/examples/html5video.html
fixed it with

to = setTimeout(function(){Adjust[settings]($self);}, 200);