Mercurial > hg > vamp-website
view bits.js @ 117:59c0af5416d2 no-forum
Wording
author | Chris Cannam |
---|---|
date | Mon, 29 Jan 2018 14:27:01 +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'; } }