Hey
Toggle shortcode doesn't work since in the code you use:
onclick="$(this).toggleClass('expanded').next().toggle('fast');
This causes javascript error in console: "TypeError: undefined is not a function".
I believe it should be changed to:
onclick="jQuery(this).toggleClass('expanded').next().toggle('fast');
This simple change seems to fix the bug ;)
If necessary i can provide a patch but this is just a simple change.

Comments

arrow’s picture

This patch fixes this issue and fixes an issue that causes the toggle to "bounce" under certain conditions.