|
|
@ -36,12 +36,10 @@ if(typeof VMM != 'undefined' && typeof VMM.TouchSlider == 'undefined') { |
|
|
|
}, |
|
|
|
}, |
|
|
|
onTouchStart: function(e) { |
|
|
|
onTouchStart: function(e) { |
|
|
|
VMM.TouchSlider.touchStart(e.data.element, e); |
|
|
|
VMM.TouchSlider.touchStart(e.data.element, e); |
|
|
|
e.preventDefault(); |
|
|
|
|
|
|
|
e.stopPropagation(); |
|
|
|
e.stopPropagation(); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
}, |
|
|
|
}, |
|
|
|
onTouchEnd: function(e) { |
|
|
|
onTouchEnd: function(e) { |
|
|
|
e.preventDefault(); |
|
|
|
|
|
|
|
e.stopPropagation(); |
|
|
|
e.stopPropagation(); |
|
|
|
|
|
|
|
|
|
|
|
if (VMM.TouchSlider.sliding) { |
|
|
|
if (VMM.TouchSlider.sliding) { |
|
|
|