MaxImage
MaxImage copied to clipboard
setTimeout errors in firefox
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);