1(function($) { 2 var touchmoved; 3 //----------- 4 // jobs 5 //----------- 6 $('[id=jobs] li').on('click', function(){ 7 var _id = $(this).data('target'); 8 $(_id).modal('show'); 9 }); 10 //mobile 11 $('[id=jobs] li').on('touchend', function(e){ 12 if(touchmoved != true){ 13 var _id = $(this).data('target'); 14 $(_id).modal('show'); 15 } 16 }).on('touchmove', function(e){ 17 touchmoved = true; 18 }).on('touchstart', function(){ 19 touchmoved = false; 20 }); 21 //----------- 22 // service 23 //----------- 24 $('.service-list__contents__part').on('click', function(){ 25 var _id = $(this).data('target'); 26 $(_id).modal('show'); 27 }); 28 //mobile 29 $('.service-list__contents__part').on('touchend', function(e){ 30 if(touchmoved != true){ 31 var _id = $(this).data('target'); 32 $(_id).modal('show'); 33 } 34 }).on('touchmove', function(e){ 35 touchmoved = true; 36 }).on('touchstart', function(){ 37 touchmoved = false; 38 }); 39} )(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.