展开/收缩效果

This commit is contained in:
Spirit 2019-10-25 16:42:02 +08:00
parent 6136ea68b4
commit 59a4303e1d
1 changed files with 2 additions and 2 deletions

View File

@ -463,10 +463,10 @@ function timeSeriesReload(flag) {
var al_expand_collapse_click = 0; var al_expand_collapse_click = 0;
$('#al_expand_collapse').click(function () { $('#al_expand_collapse').click(function () {
if (al_expand_collapse_click == 0) { if (al_expand_collapse_click == 0) {
$al_post_list.show(); $al_post_list.show(400);
al_expand_collapse_click++; al_expand_collapse_click++;
} else if (al_expand_collapse_click == 1) { } else if (al_expand_collapse_click == 1) {
$al_post_list.hide(); $al_post_list.hide(400);
al_expand_collapse_click--; al_expand_collapse_click--;
} }
}); });