...
|
...
|
@@ -88,10 +88,9 @@ $categoryContainer.find('.sub-level').on('touchstart', 'li', function() { |
|
|
$(this).removeClass('highlight');
|
|
|
});
|
|
|
|
|
|
$nav.on('touchstart', function(e) {
|
|
|
var target = e.target || e.srcElement;
|
|
|
|
|
|
target.parentNode.className = 'bytouch ' + target.parentNode.className;
|
|
|
}).on('touchend touchcancel', function() {
|
|
|
$nav.on('touchstart', 'li', function() {
|
|
|
$nav.find('li').removeClass('bytouch');
|
|
|
$(this).addClass('bytouch');
|
|
|
}).on('touchend touchcancel', 'li', function() {
|
|
|
$nav.find('li').removeClass('bytouch');
|
|
|
}); |
|
|
\ No newline at end of file |
...
|
...
|
|