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,8 +4,8 @@
* @date: 2015/12/30
*/
function getGender () {
return window.cookie('_Channel');
function getGender() {
return window.cookie('_Channel');
}
require('../home/maybe-like')(getGender());
... ...