User:Tyrok1/monobook.js: Difference between revisions

m
Changed capitalization of ToC
(Added compatibility tests)
m (Changed capitalization of ToC)
Line 40:
function CompareRefresh()
{
//refresh the display of the language sections displayed under the TOCToC
//first, check to see if we're looking at a task page
var tocEl = document.getElementById("toc");
Line 47:
if(tocEl)
{
//find all of the checkboxes within the TOCToC
var inputEls = tocEl.getElementsByTagName("input");
for(var i = 0; i < inputEls.length; ++i)
Anonymous user