Showing
1 changed file
with
1 additions
and
1 deletions
@@ -66,7 +66,7 @@ $('.overlay').on('touchstart', function(e) { | @@ -66,7 +66,7 @@ $('.overlay').on('touchstart', function(e) { | ||
66 | }); | 66 | }); |
67 | 67 | ||
68 | //点击一级导航,弹出二级导航 | 68 | //点击一级导航,弹出二级导航 |
69 | -$sideNav.on('touchstart', 'li', function(e) { | 69 | +$sideNav.on('touchend', 'li', function(e) { |
70 | if ($(this).find('.sub-nav').size() > 0) { | 70 | if ($(this).find('.sub-nav').size() > 0) { |
71 | $('.sub-nav').removeClass('show'); | 71 | $('.sub-nav').removeClass('show'); |
72 | $(this).find('.sub-nav').addClass('show'); | 72 | $(this).find('.sub-nav').addClass('show'); |
-
Please register or login to post a comment