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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | sc_basic-fix-toggle-jquery-2326047-1.patch | 1.1 KB | arrow |
Comments
Comment #1
arrowThis patch fixes this issue and fixes an issue that causes the toggle to "bounce" under certain conditions.