jquerymobile-swipeupdown
jquerymobile-swipeupdown copied to clipboard
Panel swipe not triggered
Hi, i have this code and whien i swipe down nothing seems to happen. I triggered the event manually and the event listener run the code. But it doesn't seem to work when i do the action. The code:
$(".option-menu-panel").off("swipedown").on("swipedown", function(){ if($(this).scrollTop() == 0){ showPanelLoading(); getAlerts(); } });
Can anybody help me?