Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lockscroll = true
- $('.scroll-pane').each () ->
- $(this).bind 'mousewheel', (event) ->
- if $(this).outerHeight() + api.getContentPositionY() >= api.getContentHeight() or api.getContentPositionY() == 0
- event.preventDefault() if lockscroll
Add Comment
Please, Sign In to add comment