jquery mobile - taphold event fired twice on touch devices -


i'm attempting use jquery's sortable widget on mobile device (jquery-mobile/jquery-touch-punch). taphold event fires twice setup (but once on non-touch devices).

<ul id="sortable">     <li>item 1</li>     <li>item 2</li>     <li>item 3</li> </ul>  $(function () {     $("#sortable").sortable({         axis: "y",         revert: 100     });     $("#sortable").on("taphold", function () {         alert("taphold fired"); // fires twice on touch devices     }); }); 

fiddle: http://jsfiddle.net/obft7wrg/2/

any appreciated.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -