From 76a19a4ba106abb0656970b46b875a2dbbf3e3bf Mon Sep 17 00:00:00 2001 From: com02 Date: Fri, 3 Dec 2021 15:42:49 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8D=94=EB=B3=B4=EA=B8=B0=EB=B2=84=ED=8A=BC?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/js/default.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/js/default.js b/src/main/webapp/js/default.js index 0466dbd0..9e8a49ad 100644 --- a/src/main/webapp/js/default.js +++ b/src/main/webapp/js/default.js @@ -26,10 +26,10 @@ $(document).ready(function(){ // 상세보기 아코디언 $(".detail-accordion .btn-more").on("click", function () { - $(".detail-accordion").addClass("show"); + $(this).parents().addClass("show"); $(".detail-accordion .btn-hide").click(function () { - $(".detail-accordion").removeClass("show"); + $(this).parents().removeClass("show"); }); });