If the style attribute is already set to display: none; how can I change it to be display:block; when calling the toggleControls function?
function toggleControls() {
var leControls = document.getElementsByClassName('le-controls');
for(var i = 0; i < leControls.length; i++) { leControls[i].style.display = 'none'; }
}