Template:Team:UC Davis/MutantWidget

From 2011.igem.org

(Difference between revisions)
Line 299: Line 299:
$('#mw_selectmenu td').click(
$('#mw_selectmenu td').click(
function() {
function() {
-
if(widget_mode == "2D")
 
-
{
 
             if($(this).hasClass("selected"))
             if($(this).hasClass("selected"))
{
{
Line 312: Line 310:
$('#mw_sequencearea').children().eq($(this).parent().index()).show();
$('#mw_sequencearea').children().eq($(this).parent().index()).show();
}
}
 +
if(widget_mode == "2D")
 +
{
dataseries = [];
dataseries = [];
$('#mw_selectmenu td').each(
$('#mw_selectmenu td').each(

Revision as of 05:58, 26 September 2011