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

fix-syncer
Jeremy Ruston 2019-06-03 13:28:59 +01:00
rodzic 9c2726c530
commit 72c64013c7
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

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