Team:NCTU Formosa/source/header-notebook

From 2014.igem.org

(Difference between revisions)
Line 127: Line 127:
function() {
function() {
index = block.index(this)+1;
index = block.index(this)+1;
-
indexi = block.closest('.calendar').find('.note:nth-child(1)').index(this);
+
indexi = block.closest('.calendar').find('.calendar-day:nth-child(1)').index(this);
alert(index+" "+indexi);
alert(index+" "+indexi);
index-= indexi;
index-= indexi;

Revision as of 18:43, 5 October 2014