mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-27 18:40:28 +00:00
ViewSwitcher : use Button widget instead of LinkWidget (#5573)
This commit is contained in:
parent
85835ebe42
commit
860568136f
@ -7,9 +7,9 @@ $:/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>
|
||||
</div>
|
||||
</$linkcatcher>
|
||||
</$linkcatcher>
|
||||
|
Loading…
Reference in New Issue
Block a user