in apis/scaladoc-1.0.0/scripts/ux.js [12:15]
elements[i].onclick = function(e) { if(!$(e.target).is("a") && e.fromSnippet !== true) this.classList.toggle("expand") }