1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-04 15:29:56 +00:00

CTRL-click should not create edundant state tiddlers if tag tiddlers include themself

This commit is contained in:
pmario 2024-02-08 14:11:14 +01:00
parent 13be3c2147
commit 6e23d8db51

View File

@ -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! -->