Mercurial > hg > vamp-website
view bits.js @ 113:507cd6bc63d3 no-forum
Toward a different layout for feedback/discussion
author | Chris Cannam |
---|---|
date | Mon, 15 Jan 2018 17:19:48 +0000 |
parents | 16bcb88b430a |
children |
line wrap: on
line source
function togglePlugin(id) { var e = document.getElementById('plugs-' + id); var b = document.getElementById('plugs-showhide-' + id); if (window.getComputedStyle(e).display != 'none') { e.style.display = 'none'; b.innerHTML = '▶ More'; } else { e.style.display = 'block'; b.innerHTML = '▼ Less'; } }