Team:ETH Zurich/project/overview

From 2014.igem.org

(Difference between revisions)
Line 14: Line 14:
           return text === "Complexify" ? "Simplify" : "Complexify";
           return text === "Complexify" ? "Simplify" : "Complexify";
       })
       })
-
         $("article."+ID+".complex").replaceWith(value === "Simplify" ? "$("article."+ID+".simple").html" : "$("article."+ID+".complex").html");
+
         $("article."+ID+".complex").replaceWith(function(){
 +
        return value === "Complexify" ? $("article."+ID+".complex").html()  : $("article."+ID+".simple").html()
 +
        });
     });
     });

Revision as of 15:39, 3 September 2014

iGEM ETH Zurich 2014