From 383dc8f75bb8e9862ce50c11b0adf1eaad77c7ef Mon Sep 17 00:00:00 2001 From: thisgun Date: Tue, 21 Jan 2020 17:25:17 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=81=EC=B9=B4=ED=8A=B85=20=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=EB=B7=B0=EC=99=80=20=EA=B0=A4=EB=9F=AC?= =?UTF-8?q?=EB=A6=AC=EB=B7=B0=20=EC=8A=A4=ED=81=AC=EB=A6=BD=ED=8A=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/shop.list.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/shop.list.js b/js/shop.list.js index 10ac6900b..3f8fac3d8 100644 --- a/js/shop.list.js +++ b/js/shop.list.js @@ -20,7 +20,7 @@ $.fn.listType = function(type) }); // 버튼의 class on class 제거 - $("button.sct_lst_view span").removeClass("sct_lst_on").html(""); + $("button.sct_lst_view").removeClass("sct_lst_on").find("span").removeClass("sct_lst_on").find("b").remove(); if(type == "gallery") { this.removeClass("sct sct_40"); @@ -36,7 +36,7 @@ $.fn.listType = function(type) } }); - $("button.sct_lst_gallery span").addClass("sct_lst_on").html(" 선택됨"); + $("button.sct_lst_gallery").addClass("sct_lst_on").find("span").addClass("sct_lst_on").html(" 선택됨"); } else { if(this.data("class")) { this.removeAttr("class"); @@ -72,7 +72,7 @@ $.fn.listType = function(type) } }); - $("button.sct_lst_list span").addClass("sct_lst_on").html(" 선택됨"); + $("button.sct_lst_list").addClass("sct_lst_on").find("span").addClass("sct_lst_on").html(" 선택됨"); } set_cookie("ck_itemlist"+itemlist_ca_id+"_type", type, 1, g5_cookie_domain);