summaryrefslogtreecommitdiff
path: root/tmpl
diff options
context:
space:
mode:
authorAlex Yatskov <FooSoft@users.noreply.github.com>2017-11-06 09:16:01 -0800
committerGitHub <noreply@github.com>2017-11-06 09:16:01 -0800
commite1d1c109a033ab269d17b6d2b1487ba865233d3f (patch)
tree29be56e9e80b53e8877e899388a322764619fb2c /tmpl
parentdcef7ce3774a3dcc8e7bee0bc17398251523451e (diff)
parent0c3e10a822fb4de19b5e45a96e90dbd3082c4f7a (diff)
Merge pull request #96 from siikamiika/dev
merged mode: remove whitespace between expressions
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/terms.html8
1 files changed, 2 insertions, 6 deletions
diff --git a/tmpl/terms.html b/tmpl/terms.html
index 35dedb71..e01fc8d5 100644
--- a/tmpl/terms.html
+++ b/tmpl/terms.html
@@ -44,9 +44,7 @@
{{#if merged}}
{{~#each expressions~}}
- <div class="expression">
- <span class="expression-{{termFrequency}}">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</span>
- <div class="peek-wrapper">
+ <div class="expression"><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.png" title="Play audio" alt></a>
{{~/if~}}
@@ -64,9 +62,7 @@
{{/each~}}
</div>
{{~/if~}}
- </div>
- <span class="{{#if @last}}invisible{{/if}}">、</span>
- </div>
+ </div><span class="{{#if @last}}invisible{{/if}}">、</span></div>
{{~/each~}}
{{else}}
<div class="expression">{{#kanjiLinks}}{{#furigana}}{{{.}}}{{/furigana}}{{/kanjiLinks}}</div>