1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 11:00:27 +00:00

Fix control panel stylesheets tab to use $:/state/... instead of $:/config/...

This commit is contained in:
Jeremy Ruston 2019-06-03 13:28:59 +01:00
parent 9c2726c530
commit 72c64013c7

View File

@ -3,7 +3,7 @@ title: $:/snippets/peek-stylesheets
\define expandable-stylesheets-list()
<ol>
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]">
<$vars state=<<qualify "$:/config/peek-stylesheets/open/">>>
<$vars state=<<qualify "$:/state/peek-stylesheets/open/">>>
<$set name="state" value={{{ [<state>addsuffix<currentTiddler>] }}}>
<li>
<$reveal type="match" state=<<state>> text="yes" tag="span">
@ -58,7 +58,7 @@ title: $:/snippets/peek-stylesheets
</ol>
\end
<$vars modeState=<<qualify "$:/config/peek-stylesheets/mode/">>>
<$vars modeState=<<qualify "$:/state/peek-stylesheets/mode/">>>
<$reveal type="nomatch" state=<<modeState>> text="expanded" tag="div">
<$button set=<<modeState>> setTo="expanded" class="tc-btn-invisible">{{$:/core/images/chevron-right}} {{$:/language/ControlPanel/Stylesheets/Expand/Caption}}</$button>