Commit fcad5113 authored by minseok.park's avatar minseok.park

update nav

parent bad17f5c
Pipeline #21631 passed with stages
in 3 minutes and 52 seconds
......@@ -39,17 +39,6 @@
}
})
find(menuPanel, '.nav-link').forEach(function (link) {
link.addEventListener('click', function (e) {
var li = this.parentElement
if (!li.classList.contains('is-active')) {
e.preventDefault() // 기본 링크 이동을 막음
toggleActive.call(li) // 펼쳐짐/접힘 동작 수행
window.location = this.href // 링크 이동을 명시적으로 호출
}
})
})
find(menuPanel, '.nav-link').forEach(function (link) {
link.addEventListener('click', function (e) {
var li = this.parentElement
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment