mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-04 07:19:56 +00:00
CTRL-click should not create edundant state tiddlers if tag tiddlers include themself
This commit is contained in:
parent
13be3c2147
commit
6e23d8db51
@ -130,7 +130,7 @@ v5.3.4 itemClassFilter has been replaced by tf.toc-itemClassFilter
|
||||
\procedure recursiveOpen(exclude, path)
|
||||
<!-- tf-toc-stateTitle needs the path variable! -->
|
||||
<$let path={{{ [<path>] "/" [<currentTiddler>] +[join[]] }}}>
|
||||
<$list filter="[subfilter<tf.toc-hasChildren>] -[subfilter<exclude>]" >
|
||||
<$list filter="[subfilter<tf.toc-hasChildren>] [subfilter<tf.toc-curTidInclude>] -[<currentTiddler>] -[subfilter<exclude>]" >
|
||||
<% if [subfilter<tf.toc-hasChildren>] %>
|
||||
<$set name="_excluded" filter="[subfilter<exclude>] [<currentTiddler>]">
|
||||
<!-- tf-toc-stateTitle needs the path variable! -->
|
||||
|
Loading…
Reference in New Issue
Block a user