view bits.js @ 101:bb33b0c75481 rdfquery

Remove download.html (now dynamic)
author Chris Cannam
date Tue, 24 Jun 2014 13:32:30 +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';
    }
}