...
|
...
|
@@ -7,9 +7,10 @@ var $ = require('jquery'); |
|
|
|
|
|
var $questionTab = $('.question-tab .tab-item');
|
|
|
|
|
|
$questionTab.on('touchend', function(){
|
|
|
$questionTab.on('touchend', function() {
|
|
|
var clickTab = $(this).data('tab');
|
|
|
clickTab = '[data-tab-name="' + clickTab + '"]';
|
|
|
|
|
|
clickTab = '[data-tab-name="' + clickTab + '"]';
|
|
|
|
|
|
$questionTab.removeClass('current');
|
|
|
$(this).addClass('current');
|
...
|
...
|
|