Created
May 8, 2013 11:13
-
-
Save libo1106/5539805 to your computer and use it in GitHub Desktop.
为jQuery Mobile的全局返回添加tap事件(即采用touch事件)
This file contains hidden or 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
$(:jqmData(rel='back')).tap(function(e){ | |
$.mobile.back(); | |
return false; | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment