Mercurial > hg > vamp-website
view bits.js @ 97:0774cbaf4e83 rdfquery
Add ability to report on VamPy plugins
author | Chris Cannam |
---|---|
date | Mon, 23 Jun 2014 15:57:42 +0100 |
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'; } }