summaryrefslogtreecommitdiff
path: root/ext/fg/js/frame.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-04 11:53:55 -0800
committerAlex Yatskov <alex@foosoft.net>2017-03-04 11:53:55 -0800
commit395af352f0381d43086563aa7d72ac56ac207133 (patch)
tree797a4c09e77875c5c0ff2af22d67990c64f42482 /ext/fg/js/frame.js
parentb1950cf47eea6e1e4713285fc883ad6c9ac043c6 (diff)
wip
Diffstat (limited to 'ext/fg/js/frame.js')
-rw-r--r--ext/fg/js/frame.js4
1 files changed, 2 insertions, 2 deletions
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 {