Arwid/jQuery.scrollIntoView — Issue #4: Should it call complete if no scroll is required?
Author: gbishop
Created: 2012-02-27 23:29:19+00:00
State: open

If I want to do something after scrolling I pass in the complete function. But if scrolling is not required, my complete function doesn't get called. But I'm thinking maybe it should. Otherwise I have to test, and call the complete function manually.

What do you think of simply calling complete in scrollTo in the cases where the animate is not used?