Line 117: | Line 117: | ||
e = document.getElementById("s4"); // e = the gray div | e = document.getElementById("s4"); // e = the gray div | ||
− | if(e.style.height != ' | + | if(e.style.height != '50px') { |
− | e.style.height = ' | + | e.style.height = '50px'; // height of one line: 20px |
} else { | } else { | ||
e.style.height = maxHeight + 'px'; | e.style.height = maxHeight + 'px'; |
Revision as of 06:25, 17 September 2017