Mercurial > hg > vamp-website
view bits.js @ 106:5b2c5140d6f8 website
Sync up the filenames!
author | Chris Cannam |
---|---|
date | Wed, 08 Oct 2014 10:12:32 +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'; } }