aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-11-09 12:28:12 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-11-09 12:28:12 +0200
commit177fad56b5d1d3165d0b8f755b935e8b953c7dff (patch)
tree0a9847435420658a3a6282e46e85b73209688de4
parent25af532ab7750a456f46b37825d8dbe876363d19 (diff)
use scan toggling for stroke order diagram too
-rw-r--r--ext/bg/js/templates.js2
-rw-r--r--tmpl/kanji.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js
index 96aa39cd..c8c95cc2 100644
--- a/ext/bg/js/templates.js
+++ b/ext/bg/js/templates.js
@@ -34,7 +34,7 @@ templates['kanji.html'] = template({"1":function(container,depth0,helpers,partia
return "<div class=\"entry\" data-type=\"kanji\">\n <div class=\"actions\">\n"
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.addable : depth0),{"name":"if","hash":{},"fn":container.program(11, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.source : depth0),{"name":"if","hash":{},"fn":container.program(13, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
- + " <img src=\"/mixed/img/entry-current.svg\" class=\"current\" title=\"Current entry (Alt + Up/Down/Home/End/PgUp/PgDn)\" alt>\n </div>\n\n <div class=\"glyph\">"
+ + " <img src=\"/mixed/img/entry-current.svg\" class=\"current\" title=\"Current entry (Alt + Up/Down/Home/End/PgUp/PgDn)\" alt>\n </div>\n\n <div class=\"glyph expression-scan-toggle\">"
+ container.escapeExpression(((helper = (helper = helpers.character || (depth0 != null ? depth0.character : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"character","hash":{},"data":data}) : helper)))
+ "</div>\n\n"
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.frequencies : depth0),{"name":"if","hash":{},"fn":container.program(15, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
diff --git a/tmpl/kanji.html b/tmpl/kanji.html
index 0888d141..c3064526 100644
--- a/tmpl/kanji.html
+++ b/tmpl/kanji.html
@@ -26,7 +26,7 @@ No data found
<img src="/mixed/img/entry-current.svg" class="current" title="Current entry (Alt + Up/Down/Home/End/PgUp/PgDn)" alt>
</div>
- <div class="glyph">{{character}}</div>
+ <div class="glyph expression-scan-toggle">{{character}}</div>
{{#if frequencies}}
<div>