MaxImage icon indicating copy to clipboard operation
MaxImage copied to clipboard

setTimeout errors in firefox

Open drasgardian opened this issue 12 years ago • 2 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 );
    

drasgardian avatar Nov 02 '12 04:11 drasgardian

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

ivandotv avatar Nov 13 '12 12:11 ivandotv

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

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

nicmare avatar Mar 26 '13 14:03 nicmare