取消导航筛选条件存储,刷新消失

This commit is contained in:
TevinLi 2017-08-08 18:11:53 +08:00
parent 0020827a10
commit f454070d25
1 changed files with 0 additions and 7 deletions

View File

@ -133,13 +133,11 @@ $(function () {
$menuBar.find('h5').each(function () {
filterNav('filter', valReg, $(this));
});
storage.setStates('navFilterKey', value);
} else {
$filterClean.addClass('off');
$menuBar.find('h5').each(function () {
filterNav('open', null, $(this));
});
storage.setStates('navFilterKey');
}
$menuBar.trigger('scrollbar');
});
@ -513,11 +511,6 @@ $(function () {
return false;
}
});
//设置导航筛选初始值
var filterVal = storage.getStates('navFilterKey');
if (typeof filterVal != 'undefined' && filterVal != '') {
$filter.val(filterVal).trigger('input2');
}
//回调
callback && callback(pathList);
};