User talk:Khanst/common.js

//collapses by default the TOC on opening a page function hideToc { var toc = document.getElementById('toc').getElementsByTagName('ul')[0]; var toggleLink = document.getElementById('togglelink'); toc.style.display = 'none'; } hideToc;