aboutsummaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2017-10-08 03:37:28 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2017-10-08 03:37:28 +0300
commit7b9ad61352dcb7ebaf8f3c5e5b2adeb32e14fae1 (patch)
tree6e0ef94db1b65e81ce098145cbfd94ab54b8f801 /tmpl
parent94d590fc85f87028d8264e93c8ad58c71d0977f2 (diff)
merged mode: fix regression (voice), tweak hover
Alt+P now works again in grouped/split mode In merged mode, 「、」 is added even after the last term, but it's hidden for that. This ensures consistent behavior with voice button and tags
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 40a44c12..b1f080a2 100644
--- a/tmpl/terms.html
+++ b/tmpl/terms.html
@@ -57,8 +57,8 @@
{{/if}}<!--
--><span style="display: inline-block;"></span><!--
--></div><!--
- -->{{~#unless @last~}}、{{/unless}}
- </div>
+ --><span class="{{#if @last}}invisible{{/if}}">、</span><!--
+ --></div>
{{/each}}
{{else}}
<div class="expression">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</div>