Commit ae06f13b by Victor Shnayder

Fix broken submission in firefox

- apparently have to define functions before using them...
parent 0a4a523e
...@@ -49,15 +49,16 @@ ...@@ -49,15 +49,16 @@
return false; return false;
}); });
function toggleHint(e) {
$(this).parent().siblings().slideToggle();
$(this).parent().parent().toggleClass('open');
return false;
}
if(!collapsibleSet) { if(!collapsibleSet) {
collapsibleSet = true; collapsibleSet = true;
$('.collapsible section').hide(); $('.collapsible section').hide();
$('.collapsible header a').bind('click', toggleHint); $('.collapsible header a').bind('click', toggleHint);
function toggleHint(e) {
$(this).parent().siblings().slideToggle();
$(this).parent().parent().toggleClass('open');
return false;
}
} }
}); });
</script> </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