aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-04 20:10:49 -0800
committerAlex Yatskov <alex@foosoft.net>2017-03-04 20:10:49 -0800
commit5daf2accf4d6628131cd8e054ca6258a669eb715 (patch)
tree86c7eb89e3fe44ddf707cba6337b8ad106375468 /ext/mixed
parente799aa5e5f7dd526214b8e55de86f525cefec3ee (diff)
wip
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/display.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index f9467573..1de65f22 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -50,6 +50,7 @@ class Display {
const sequence = ++this.sequence;
const params = {
definitions,
+ addable: options.anki.enable,
grouped: options.general.groupResults,
playback: options.general.audioPlayback
};
@@ -84,7 +85,7 @@ class Display {
const sequence = ++this.sequence;
const params = {
definitions,
- addable: options.anki.enabled
+ addable: options.anki.enable
};
if (context) {
@@ -137,7 +138,7 @@ class Display {
onActionAddNote(e) {
e.preventDefault();
- this.showSpinner(true);
+ this.spinner.show();
const link = $(e.currentTarget);
const index = link.data('index');