Mercurial > hg > vamp-website
view bits.js @ 125:7bda0a9bacfa website
Update for Vampy 2.3
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 14:16:30 +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'; } }