e9946b Fix the toggle button

Authored and Committed by Pierre-Yves Chibon 5 years ago
    Fix the toggle button
    
    We had two issues, the JS function toggle() was in if/else statements
    which means it wasn't always included and thus not always working.
    The second issue was a missing '.', the line:
      checkboxes[i].checked = !checkboxes[i]checked;
    was meant to be:
      checkboxes[i].checked = !checkboxes[i].checked;
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr></pingou@pingoured.fr>