cubiq / iscroll

Smooth scrolling for the web
http://iscrolljs.com
MIT License
12.87k stars 3.8k forks source link

Can now target different scroller #1022

Open fanmanpro opened 8 years ago

fanmanpro commented 8 years ago

Added an optional parameter to iScroll constructor in order to target a different scroller element instead of always using the first child element.

P.S. Might be better to make this an option instead of a parameter...