diff --git a/admin/src/main/resources/templates/uiCode/uiCodeList.html b/admin/src/main/resources/templates/uiCode/uiCodeList.html
index 3a90da90..f17195eb 100644
--- a/admin/src/main/resources/templates/uiCode/uiCodeList.html
+++ b/admin/src/main/resources/templates/uiCode/uiCodeList.html
@@ -98,11 +98,15 @@
| |
- |
@@ -231,13 +235,17 @@
const previouslySelected = treeWrap.querySelector('button.selected');
if (previouslySelected) {
previouslySelected.classList.remove('selected');
- if (previouslySelected.classList.contains('tit')) {
+ /* if (previouslySelected.classList.contains('tit')) {
previouslySelected.parentNode.classList.add('folding');
- }
+ }*/
}
button.classList.add('selected');
if (button.classList.contains('tit')) {
- button.parentNode.classList.remove('folding');
+ if(button.parentNode.classList.contains('folding')){
+ button.parentNode.classList.remove('folding');
+ }else{
+ button.parentNode.classList.add('folding');
+ }
}
// 노드 데이터 추출
const data = {