Commit b9affa68 by Victor Shnayder

Fix broken submission in firefox

- apparently have to define functions before using them...
parent 31febfa2
......@@ -49,15 +49,16 @@
return false;
});
if(!collapsibleSet) {
collapsibleSet = true;
$('.collapsible section').hide();
$('.collapsible header a').bind('click', toggleHint);
function toggleHint(e) {
$(this).parent().siblings().slideToggle();
$(this).parent().parent().toggleClass('open');
return false;
}
if(!collapsibleSet) {
collapsibleSet = true;
$('.collapsible section').hide();
$('.collapsible header a').bind('click', toggleHint);
}
});
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment