Sortable mobile inner Click

by ben74

HTML

<script src="http://x24.fr/js.js?jq,jqui2,jqpunch"></script>
<div id='sortable'>
    <li><a class='innerA' href='#' title='1'>1- Some click event</a></li>
        <li><a class='innerA' herf='#' title='2'>2- Some click event</a></li>
</div>

JavaScript

$("#sortable").sortable({
    placeholder: 'highlight',
    start: function(event, ui) {console.log('start');ui.item.bind("click.prevent",function(event) { event.preventDefault(); });},
    stop: function(event, ui) {console.log('stop');setTimeout(function(){ui.item.unbind("click.prevent");}, 300);},
    
    update: function (event, ui) {
           }
});
$("#sortable").disableSelection();
$('.innerA').on('click',function(e){console.log('click',this,e);alert(this.title);});