Line 695: | Line 695: | ||
function myFunction() { | function myFunction() { | ||
var x = document.getElementById("myDIV"); | var x = document.getElementById("myDIV"); | ||
− | if (x.style.display === " | + | if (x.style.display === "none") { |
− | x.style.display = " | + | x.style.display = "block"; |
} else { | } else { | ||
x.style.display = "block"; | x.style.display = "block"; |
Revision as of 16:09, 28 October 2017