aboutsummaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-11-09 12:27:09 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-11-09 12:27:09 +0200
commit25af532ab7750a456f46b37825d8dbe876363d19 (patch)
treef193ddc7cbb79a9ca92a047a59624b4a53e98b71 /tmpl
parentb59a5b8cdb9bf8cdc28701e16c3d581fb96f4ef8 (diff)
enable expression scan toggling on search page
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/terms.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmpl/terms.html b/tmpl/terms.html
index 3dee43d7..993b5aa0 100644
--- a/tmpl/terms.html
+++ b/tmpl/terms.html
@@ -49,7 +49,7 @@
{{#if merged}}
{{~#each expressions~}}
- <div class="expression"><span class="expression-{{termFrequency}}">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</span><div class="peek-wrapper">
+ <div class="expression expression-scan-toggle"><span class="expression-{{termFrequency}}">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</span><div class="peek-wrapper">
{{~#if ../playback~}}
<a href="#" class="action-play-audio"><img src="/mixed/img/play-audio.svg" title="Play audio" alt></a>
{{~/if~}}
@@ -70,7 +70,7 @@
</div><span class="{{#if @last}}invisible{{/if}}">、</span></div>
{{~/each~}}
{{else}}
- <div class="expression">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</div>
+ <div class="expression expression-scan-toggle">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</div>
{{#if termTags}}
<div style="display: inline-block;">
{{#each termTags}}