Does anyone know how to get this swipe to work reliably? I had it working when I was using the full jQuery mobile version but with this custom jQuery mobile file it doesn't work. I want to get away from the complete jQuery mobile framework because it is invasive and I am only using swipe and maybe 1 or 2 other functions eventually.
I attached the custom jQuery file in case anyone needs it. I am not sure why this is not working.
I guess I just need to know how to call the function when a user swipes the screen.
if($(window).width() <= 1024)