diff --git a/js/index.js b/js/index.js index 9ac3ea1..09d43ec 100644 --- a/js/index.js +++ b/js/index.js @@ -143,8 +143,8 @@ var tabsSwiper = new Swiper('.swiper-container',{ $("#controls li").on('touchstart mousedown',function(e){ var that=$(this); // e.preventDefault() - // $(".tabs .active").removeClass('active') - // $(this).addClass('active') + $("#controls li").removeClass('active') + $(this).addClass('active') tabsSwiper.slideTo( that.index() ) })