Why specifcially in my example does this "too much recursion" error occur in my JavaScript?
- by alex
I have been looking into this for a little while now.
I have a gallery on my page, that uses Ariel Flesler's scrollTo plugin.
It works fine on the home page, but not on the Contact page.
In Firefox, I get the error...
Too much recursion
I have sorted through as much code as possible and set breakpoints in a few places.
I am pretty sure it is something to do with the plugin (specifically, when it is called in the click handler).
For your convenience, I am using the unpacked versions of jQuery and scrollTo plugin.
What on earth am I doing wrong?
Thanks for your time.