Mercurial > hg > vamp-website
view bits.js @ 115:7b60872b9c48 no-forum
News
author | Chris Cannam |
---|---|
date | Mon, 29 Jan 2018 13:57:22 +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'; } }