-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to destroy enscroll at some resolution? #72
Comments
I've found a solution. Just use |
thanks @xahon |
What if i want to turn off enscroll at 768px, but turn it back on at wider screen when the window is resized or orientation is changed? Thanks |
you can call function for enscroll on $(window).resize when if ($(window).width() > 768) and vice versa |
Like this? It doesnt work for me, just keeps creating multiple scrollbars, gives an error "type e is null" and doesnt update the scrollbar position. |
$(window).resize(function(){ Please try this. Let me it its works. |
Actually i does work, thanks mate. |
I want normal scrolling for mobile version that and want to keep enscroll for desktop. How can I destroy this plugin for mobile?
The text was updated successfully, but these errors were encountered: