From 211dd91cac3fdfb4b4437bba7bb3ac3f033a274d Mon Sep 17 00:00:00 2001 From: zouap Date: Mon, 28 Mar 2022 10:42:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=A1=86=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E7=BD=AE=E9=BB=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- public/home/search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/home/search.js b/public/home/search.js index dd3e81b97..eb510a7ff 100644 --- a/public/home/search.js +++ b/public/home/search.js @@ -316,8 +316,8 @@ function getTaskDesc(key){ } function getActiveItem(sort_type){ - console.log("currentSearchSortBy=" + currentSearchSortBy + " sort_type=" + sort_type); - if(currentSearchSortBy == sort_type){ + console.log("currentSearchSortBy=" + currentSearchSortBy + " sort_type=" + sortBy[sort_type]); + if(currentSearchSortBy == sortBy[sort_type]){ return "active "; }else{ return "";