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:
parent
9c2726c530
commit
72c64013c7
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user