Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
DropKick Plugin not wroking with Scrollability | Mobile scrolling #36
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jamshoo commentedJan 18, 2013
//It seems scrollability hasn't been updated in a while, if you are using dropkick and jquery //this is what I had to do, edit on your scrollability.js file the following:
//Replace:
require.ready(function() {
document.addEventListener(isTouch ? 'touchstart' : 'mousedown', onTouchStart, false);
window.addEventListener('load', onLoad, false);
});
//For this:
$(document).ready(function(){
document.addEventListener(isTouch ? 'touchstart' : 'mousedown', onTouchStart, false);
window.addEventListener('load', onLoad, false);
});
and comment out line 77, 79 and 84 that start with 'export'.