diff --git a/shop/list.sub2.php b/shop/list.sub2.php index 1bed5d18e..f7a8bfb08 100644 --- a/shop/list.sub2.php +++ b/shop/list.sub2.php @@ -26,7 +26,7 @@ $.fn.listType = function(type) $(this).attr("style", $(this).data("style")); } }); - set_cookie("ck_itemlist_type", "gallery", 1, g4_cookie_domain); + $("button.sct_lst_gallery span").addClass("sct_lst_on").html("활성"); } else { this.addClass("sct_40"); @@ -35,9 +35,11 @@ $.fn.listType = function(type) $(this).attr("style", ""); } }); - set_cookie("ck_itemlist_type", "list", 1, g4_cookie_domain); + $("button.sct_lst_list span").addClass("sct_lst_on").html("활성"); } + + set_cookie("ck_itemlist_type", type, 1, g4_cookie_domain); } // 리스트 타입 쿠키가 있을 경우 바로 적용