염성찬 염성찬 20 hours ago
영문 3단 메뉴 클릭 시 국문 전환 수정
@7ccaa0d0b943293adf421da8fa97901b35f8787d
src/main/webapp/WEB-INF/jsp/web/com/webCommonHeader.jsp
--- src/main/webapp/WEB-INF/jsp/web/com/webCommonHeader.jsp
+++ src/main/webapp/WEB-INF/jsp/web/com/webCommonHeader.jsp
@@ -168,9 +168,9 @@
     // 로고 클릭 시 현재 언어 메인으로 이동
     $('h1.logo a').attr('href', '/web/main/mainPage.do?menuUserType=' + menuUserType);
 
-    // Append menuUserType to menu links
-    var currentLang = sessionStorage.getItem('menuUserType') || 'KOR';
-    $('a.depth02').each(function() {
+    // Append menuUserType to menu links (2/3 depth, PC/모바일/사이트맵)
+    var currentLang = menuUserType;
+    $('a.depth02, a.depth03').each(function() {
         var href = $(this).attr('href');
         if (href && href !== '#') {
             var newHref = href;
Add a comment
List