Authored by biao

更新频道选择页顶部导航

... ... @@ -183,6 +183,6 @@ if ($genderItem.length > 0) {
$genderItem.on('touchstart', function() {
$('.genderNav ul .active').removeClass('active');
$(this).addClass('active');
window.location.search = "channel=" + ($(this).data('id') + 1);
window.location.search = 'channel=' + ($(this).data('id') + 1);
});
}
... ...
... ... @@ -4,7 +4,7 @@
* @date: 2015/12/30
*/
function getGender () {
function getGender() {
return window.cookie('_Channel');
}
... ...