simplr-smoothscroll
simplr-smoothscroll copied to clipboard
Remove / Unbind simplr-smoothscroll after a button is clicked
Hi!
Is there a way to unbind smooth scroll functionality when a user presses for example a button? In my case, I want to remove this functionality if I detect that the user is using touch events to navigate on the website instead of regular mouse scroll events...
I've looked at the source code and could not find a way to do that.
Cump's
Currently there is no such functionality. Your only option is to check for user agent before initializing the plugin.