Difference between revisions of "Template:Groningen"

Line 137: Line 137:
 
 
 
function showOne(h, sec){
 
function showOne(h, sec){
var id = h.attr('id') || sec.attr('id');
+
var id = sec.attr('id') || h.attr('id');
 
sec.removeClass('hide');
 
sec.removeClass('hide');
 
h.removeClass('collapsed');
 
h.removeClass('collapsed');
Line 146: Line 146:
 
 
 
h.parents('collapsible').each(function(){
 
h.parents('collapsible').each(function(){
var sec = $(this), h = sec.data('the-h');
+
var sec = $(this), h = $('#'+sec.data('the-h'));
 
 
 
showOne(h, sec);
 
showOne(h, sec);

Revision as of 13:51, 17 October 2016

CryptoGE®M
Team
Project
Biology
Computing
Human Practice
Acknowledgements