mattia / pagure

Forked from pagure 3 years ago
Clone

e9946be Fix the toggle button

Authored and Committed by pingou 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>