Team:ETH Zurich/project/overview

From 2014.igem.org

(Difference between revisions)
Line 13: Line 13:
           return text === "Complexify" ? "Simplify" : "Complexify";
           return text === "Complexify" ? "Simplify" : "Complexify";
       })
       })
-
       var article = $("article."+ID+".complex");
+
       var article = $("article."+ID+".complex").html();
       $("article."+ID+".complex").replaceWith($("article."+ID+".simple").html);
       $("article."+ID+".complex").replaceWith($("article."+ID+".simple").html);
-
       $("article."+ID+".simple").replaceWith(article.html);
+
       $("article."+ID+".simple").replaceWith(article);
     });
     });
Line 23: Line 23:
           return text === "Complexify" ? "Simplify" : "Complexify";
           return text === "Complexify" ? "Simplify" : "Complexify";
       })
       })
 +
      var article = $("article."+ID+".complex").html();
       $("article."+ID+".complex").replaceWith($("article."+ID+".simple").html);
       $("article."+ID+".complex").replaceWith($("article."+ID+".simple").html);
-
       $("article."+ID+".simple").replaceWith($("article."+ID+".complex").html);
+
       $("article."+ID+".simple").replaceWith(article);
     });
     });
});
});

Revision as of 15:06, 3 September 2014

iGEM ETH Zurich 2014