diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js index ed6d3dd8..f8306b1b 100644 --- a/ext/bg/js/templates.js +++ b/ext/bg/js/templates.js @@ -302,7 +302,7 @@ templates['kanji.html'] = template({"1":function(container,depth0,helpers,partia return " \n"; + + "\">\n"; },"4":function(container,depth0,helpers,partials,data) { var stack1; @@ -362,7 +362,7 @@ templates['kanji.html'] = template({"1":function(container,depth0,helpers,partia },"18":function(container,depth0,helpers,partials,data) { return "
"; },"20":function(container,depth0,helpers,partials,data) { - return "

No results found

\n"; + return "

No results found.

\n"; },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) { var stack1; @@ -459,15 +459,15 @@ templates['terms.html'] = template({"1":function(container,depth0,helpers,partia return " \n \n \n"; + + "\">\n"; },"15":function(container,depth0,helpers,partials,data) { var helper; return " \n"; + + "\">\n"; },"17":function(container,depth0,helpers,partials,data) { var stack1, helper, options, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, alias3="function", buffer = "
"; @@ -542,7 +542,7 @@ templates['terms.html'] = template({"1":function(container,depth0,helpers,partia },"36":function(container,depth0,helpers,partials,data) { return "
"; },"38":function(container,depth0,helpers,partials,data) { - return "

No results found

\n"; + return "

No results found.

\n"; },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data,blockParams,depths) { var stack1; diff --git a/ext/bg/search.html b/ext/bg/search.html index 68bc6e03..0737f99c 100644 --- a/ext/bg/search.html +++ b/ext/bg/search.html @@ -18,6 +18,10 @@

+
+ +
+
diff --git a/ext/fg/css/frame.css b/ext/fg/css/frame.css index 9697ba2e..e2006328 100644 --- a/ext/fg/css/frame.css +++ b/ext/fg/css/frame.css @@ -41,7 +41,7 @@ hr { margin-bottom: 0.8em; } -.spinner { +#spinner { bottom: 5px; display: none; position: fixed; diff --git a/ext/fg/frame.html b/ext/fg/frame.html index 14fd63c1..a5baee98 100644 --- a/ext/fg/frame.html +++ b/ext/fg/frame.html @@ -9,7 +9,7 @@
-
+
diff --git a/ext/fg/js/frame.js b/ext/fg/js/frame.js index 32e227d0..c1253e41 100644 --- a/ext/fg/js/frame.js +++ b/ext/fg/js/frame.js @@ -75,7 +75,7 @@ class Frame { const sequence = ++this.sequence; const params = { definitions, - addable: options.ankiMethod !== 'disabled' + addable: options.anki.enabled }; definitions.forEach(definition => { @@ -165,7 +165,7 @@ class Frame { } showSpinner(show) { - const spinner = $('.spinner'); + const spinner = $('#spinner'); if (show) { spinner.show(); } else { diff --git a/tmpl/kanji.html b/tmpl/kanji.html index 43c57aed..fefef9bb 100644 --- a/tmpl/kanji.html +++ b/tmpl/kanji.html @@ -2,7 +2,7 @@

{{#if addable}} - + {{/if}}
@@ -55,5 +55,5 @@ {{> kanji addable=../addable root=../root}} {{/each}} {{else}} -

No results found

+

No results found.

{{/if}} diff --git a/tmpl/terms.html b/tmpl/terms.html index 036aa465..cb68c74f 100644 --- a/tmpl/terms.html +++ b/tmpl/terms.html @@ -21,11 +21,11 @@

{{#if addable}} - - + + {{/if}} {{#if playback}} - + {{/if}}
@@ -67,5 +67,5 @@ {{> term grouped=../grouped addable=../addable playback=../playback}} {{/each}} {{else}} -

No results found

+

No results found.

{{/if}}