User:Locke/common.js: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(woo it works!)
(moved to Tabs2.js)
Tag: Blanking
 
(81 intermediate revisions by the same user not shown)
Line 1: Line 1:
var uls = document.getElementById('toc').getElementsByTagName('ul')[0].getElementsByTagName('ul');
 
for(var i=0; i<uls.length; ++i) { uls[i].style.width = uls[i].clientWidth + 1 + "px"; }

Latest revision as of 08:47, June 27, 2020