Difference between revisions of "Team:NYU Shanghai/Code"

Line 52: Line 52:
 
   function expandButton() {
 
   function expandButton() {
 
     if (document.getElementById("Button").className === "collapsed") {
 
     if (document.getElementById("Button").className === "collapsed") {
       document.getElementById("Button").style.color = "goldenrod";
+
       document.getElementById("Button").style.color = "white";
 
       document.getElementById("ButtonText").style.display = "inline-block";
 
       document.getElementById("ButtonText").style.display = "inline-block";
 
       document.getElementById("Button").className = "expanded";
 
       document.getElementById("Button").className = "expanded";

Revision as of 02:10, 18 September 2015

Code