Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

targ[pos] Undefined


Project:ScrollTo
Version:1.4.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

If an element is scrolled as far as it will go to the left and a .scrollTo() call tells it to scroll to the right a negative amount, an error is returned. This does not affect the behavior of the plugin, but does trip a Javascript error, specifically on line 159:
var val = targ[pos];
pos ends up being undefined, so val becomes undefined and the script does not execute.