Created
April 12, 2015 22:39
-
-
Save unoseistres/4d35a3827ce0615a7bc2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).on("pagecreate","#section2",function(){ | |
$("#section2").on("swiperight",function(){ | |
$.mobile.changePage("#section1",{transition:"slide", reverse:true | |
}); | |
var handler = function(event) { | |
if(document.getElementById(drop).style.display==="block") { | |
removeEventListener("swiperight", handler, false); | |
console.log("remove"); | |
} | |
}; | |
}); | |
console.log("section2 right"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment