From 395af352f0381d43086563aa7d72ac56ac207133 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 4 Mar 2017 11:53:55 -0800 Subject: wip --- ext/fg/js/frame.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/fg/js') 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 { -- cgit v1.2.3