WIKI CUSTOM - folded plugin - fix folding to work with simple class
this fixes folding by not needing a dokuwiki parent as that simply doesn't seem to be there.
This commit is contained in:
parent
71de632912
commit
43cddc1e13
|
@ -23,7 +23,7 @@ jQuery(function() {
|
|||
* toggle the folded element via className change also adjust the classname and
|
||||
* title tooltip on the folding link
|
||||
*/
|
||||
jQuery('.dokuwiki .folder').click(function folded_toggle(evt) {
|
||||
jQuery('.folder').click(function folded_toggle(evt) {
|
||||
var id = this.href.match(/(#.*)$/)[1];
|
||||
var $id = jQuery(id);
|
||||
|
||||
|
|
Loading…
Reference in New Issue