mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
ViewSwitcher : use Button widget instead of LinkWidget (#5573)
This commit is contained in:
parent
85835ebe42
commit
860568136f
@ -7,7 +7,7 @@ $:/core/images/storyview-$(storyview)$
|
||||
<div class="tc-chooser tc-viewswitcher">
|
||||
<$list filter="[storyviews[]]" variable="storyview">
|
||||
<$set name="cls" filter="[<storyview>prefix{$:/view}]" value="tc-chooser-item tc-chosen" emptyValue="tc-chooser-item"><div class=<<cls>>>
|
||||
<$link to=<<storyview>>><$transclude tiddler=<<icon>>/><$text text=<<storyview>>/></$link>
|
||||
<$button tag="a" class="tc-tiddlylink tc-btn-invisible" to=<<storyview>>><$transclude tiddler=<<icon>>/><$text text=<<storyview>>/></$button>
|
||||
</div>
|
||||
</$set>
|
||||
</$list>
|
||||
|
Loading…
Reference in New Issue
Block a user