Authored by 李靖

优化选择框

... ... @@ -241,14 +241,12 @@ $listNav.on('touchend touchcancel', function(e) {
$dropList.toggle();
$dropList.find('.default').on('touchend touchcancel', function() {
$thisLi = $(this);
$firstText.html('默认');
popularityFilter($thisLi, 'default');
return false;
});
$dropList.find('.popularity').on('touchend touchcancel', function() {
$thisLi = $(this);
$firstText.html('人气');
popularityFilter($thisLi, 'popularity');
return false;
... ...