1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-08-08 06:43:49 +00:00

only style filtered tiddlers if there's something in the search input

This commit is contained in:
BurningTreeC 2024-10-11 15:15:48 +02:00
parent dbb3117105
commit 254406fb0b

View File

@ -15,6 +15,8 @@ tags: $:/tags/Stylesheet
);
}
<%if [{$:/temp/search/input}!is[blank]] %>
<$list filter=<<tf.story-river.filter.match>> variable="filteredTiddler">
<$set name="CSSEscapedTitle" value={{{ [<filteredTiddler>escapecss[]] }}}>
@ -27,4 +29,6 @@ tags: $:/tags/Stylesheet
</$list>
<% endif %>
<% endif %>