Showing
1 changed file
with
2 additions
and
1 deletions
@@ -7,8 +7,9 @@ var $ = require('jquery'); | @@ -7,8 +7,9 @@ var $ = require('jquery'); | ||
7 | 7 | ||
8 | var $questionTab = $('.question-tab .tab-item'); | 8 | var $questionTab = $('.question-tab .tab-item'); |
9 | 9 | ||
10 | -$questionTab.on('touchend', function(){ | 10 | +$questionTab.on('touchend', function() { |
11 | var clickTab = $(this).data('tab'); | 11 | var clickTab = $(this).data('tab'); |
12 | + | ||
12 | clickTab = '[data-tab-name="' + clickTab + '"]'; | 13 | clickTab = '[data-tab-name="' + clickTab + '"]'; |
13 | 14 | ||
14 | $questionTab.removeClass('current'); | 15 | $questionTab.removeClass('current'); |
-
Please register or login to post a comment