From 5daf2accf4d6628131cd8e054ca6258a669eb715 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 4 Mar 2017 20:10:49 -0800 Subject: wip --- ext/mixed/js/display.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ext/mixed') 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'); -- cgit v1.2.3