--- src/main/webapp/WEB-INF/jsp/web/com/webCommonHeader.jsp
+++ src/main/webapp/WEB-INF/jsp/web/com/webCommonHeader.jsp
... | ... | @@ -168,9 +168,9 @@ |
| 168 | 168 |
// 로고 클릭 시 현재 언어 메인으로 이동 |
| 169 | 169 |
$('h1.logo a').attr('href', '/web/main/mainPage.do?menuUserType=' + menuUserType);
|
| 170 | 170 |
|
| 171 |
- // Append menuUserType to menu links |
|
| 172 |
- var currentLang = sessionStorage.getItem('menuUserType') || 'KOR';
|
|
| 173 |
- $('a.depth02').each(function() {
|
|
| 171 |
+ // Append menuUserType to menu links (2/3 depth, PC/모바일/사이트맵) |
|
| 172 |
+ var currentLang = menuUserType; |
|
| 173 |
+ $('a.depth02, a.depth03').each(function() {
|
|
| 174 | 174 |
var href = $(this).attr('href');
|
| 175 | 175 |
if (href && href !== '#') {
|
| 176 | 176 |
var newHref = href; |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?