From 43cddc1e133a0ccc41e3fd9fe3f7df1a5bb7f09f Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 17 Apr 2015 14:43:58 +0900 Subject: [PATCH] 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. --- public_html/lib/plugins/folded/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/lib/plugins/folded/script.js b/public_html/lib/plugins/folded/script.js index d5533284..39303631 100644 --- a/public_html/lib/plugins/folded/script.js +++ b/public_html/lib/plugins/folded/script.js @@ -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);