Skip to content

Commit

Permalink
Not removing curid class anymore
Browse files Browse the repository at this point in the history
No more propagation to Twistie popup
  • Loading branch information
geekitude committed Jul 1, 2017
1 parent 71523dd commit f650257
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plugin.info.txt
@@ -1,7 +1,7 @@
base twistienav
author Simon Delage
email simon.geekitude@gmail.com
date 2017-03-12
date 2017-07-01
name TwistieNav plugin
desc Adds drop-down navigation menus to breadcrumbs
url http://www.dokuwiki.org/plugin:twistienav
9 changes: 5 additions & 4 deletions script.js
Expand Up @@ -59,11 +59,12 @@ var twistienav_plugin = {
);
};

// NOT REQUIRED ANYMORE
// remove current id highlight because it is inherited by popup
trace = $traceObj.html();
trace = trace.replace(/<span class="curid">/gi,'')
.replace(/<\/span>$/gi,'');
$traceObj.html(trace);
//trace = $traceObj.html();
//trace = trace.replace(/<span class="curid">/gi,'')
// .replace(/<\/span>$/gi,'');
//$traceObj.html(trace);

// add new twisties
var linkNo = 0;
Expand Down

0 comments on commit f650257

Please sign in to comment.