"미디어위키:Common.js"의 두 판 사이의 차이
디지털 트윈국토 표준 활용 가이드
3번째 줄: | 3번째 줄: | ||
function linkToc() { | function linkToc() { | ||
let numbering = document.getElementsByClassName('mw-headline-number'); | let numbering = document.getElementsByClassName('mw-headline-number'); | ||
console.log("TEST"); | |||
numbering.onclick = function() { | numbering.onclick = function() { | ||
window.location.href('#toc'); | window.location.href('#toc'); | ||
}; | }; | ||
} | } | ||
linkToc(); | linkToc(); |