aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2017-10-26 10:18:28 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2017-10-26 10:18:28 +0300
commitde28190f5a1a80665ac95ef561148e684eae8ae1 (patch)
tree961550a7c1eb070345c0cfc04b0582a067100995
parentee80fa5331d594907c9fce382dcc981d2cf8682f (diff)
merged mode: restore whitespace between frequencies
-rw-r--r--ext/bg/js/templates.js4
-rw-r--r--tmpl/terms.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js
index 236e7583..f3f680d5 100644
--- a/ext/bg/js/templates.js
+++ b/ext/bg/js/templates.js
@@ -361,11 +361,11 @@ templates['terms.html'] = template({"1":function(container,depth0,helpers,partia
},"39":function(container,depth0,helpers,partials,data) {
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression;
- return "<span class=\"label label-default tag-frequency\">"
+ return " <span class=\"label label-default tag-frequency\">"
+ alias4(((helper = (helper = helpers.dictionary || (depth0 != null ? depth0.dictionary : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"dictionary","hash":{},"data":data}) : helper)))
+ ":"
+ alias4(((helper = (helper = helpers.frequency || (depth0 != null ? depth0.frequency : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"frequency","hash":{},"data":data}) : helper)))
- + "</span>";
+ + "</span>\n";
},"41":function(container,depth0,helpers,partials,data) {
return "invisible";
},"43":function(container,depth0,helpers,partials,data) {
diff --git a/tmpl/terms.html b/tmpl/terms.html
index a9b260c1..245a0ea1 100644
--- a/tmpl/terms.html
+++ b/tmpl/terms.html
@@ -59,9 +59,9 @@
{{~/if~}}
{{~#if frequencies~}}
<div class="frequencies">
- {{~#each frequencies~}}
+ {{~#each frequencies}}
<span class="label label-default tag-frequency">{{dictionary}}:{{frequency}}</span>
- {{~/each~}}
+ {{/each~}}
</div>
{{~/if~}}
</div><!--