Difference between revisions of "Template:ETH Zurich"
m |
m |
||
Line 17: | Line 17: | ||
var menu = document.getElementById('sidemenu'); | var menu = document.getElementById('sidemenu'); | ||
var items = $("#contentContainer h1,h2,h3,h4,h5,h6"); | var items = $("#contentContainer h1,h2,h3,h4,h5,h6"); | ||
− | if (items.length > | + | if (items.length > 2) { |
var cur = 0,next=0,count=0; | var cur = 0,next=0,count=0; | ||
var menuText = ""; | var menuText = ""; |
Revision as of 14:33, 18 August 2015