From d6fe370f9b8a7ccf0d3241311f4864028f0061eb Mon Sep 17 00:00:00 2001 From: tianshujie Date: Mon, 20 Dec 2021 16:33:22 +0800 Subject: [PATCH] * Modify the name of the variable. --- module/kanban/js/view.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/kanban/js/view.js b/module/kanban/js/view.js index f39d95b2f6..add6767edb 100644 --- a/module/kanban/js/view.js +++ b/module/kanban/js/view.js @@ -894,10 +894,10 @@ $(function() { if(sortType == 'region') { - showRegion = ''; + showRegionIdList = ''; $('.icon-chevron-double-up').each(function() { - showRegion += $(this).attr('data-id') + ','; + showRegionIdList += $(this).attr('data-id') + ','; $(this).attr('class', 'icon-chevron-double-down'); }); @@ -918,7 +918,7 @@ $(function() { $('.region').each(function() { - if(showRegion.includes($(this).attr('data-id'))) + if(showRegionIdList.includes($(this).attr('data-id'))) { $(this).find('.icon-chevron-double-down').attr('class', 'icon-chevron-double-up'); $(this).find('.kanban').show();