Fix broken submission in firefox
- apparently have to define functions before using them...
This commit is contained in:
@@ -49,15 +49,16 @@
|
||||
return false;
|
||||
});
|
||||
|
||||
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);
|
||||
function toggleHint(e) {
|
||||
$(this).parent().siblings().slideToggle();
|
||||
$(this).parent().parent().toggleClass('open');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user