1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-08-31 18:08:03 +00:00

ViewSwitcher : use Button widget instead of LinkWidget (#5573)

This commit is contained in:
Saq Imtiaz
2021-03-29 10:02:47 +02:00
committed by GitHub
parent 85835ebe42
commit 860568136f

View File

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