Team:Cornell/Sandbox/notebook
From 2012.igem.org
(Difference between revisions)
Line 79: | Line 79: | ||
var all = document.getElementsByClassName('nb-week'); | var all = document.getElementsByClassName('nb-week'); | ||
for(var i = 0; i<all.length; i++) { | for(var i = 0; i<all.length; i++) { | ||
- | all[i].style.display = 'none'; | + | if(all[i].tagName == div) all[i].style.display = 'none'; |
} | } | ||
document.getElementById(filt).style.display = 'block'; | document.getElementById(filt).style.display = 'block'; |
Revision as of 22:16, 6 March 2013