aboutsummaryrefslogtreecommitdiff
path: root/ext/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js')
-rw-r--r--ext/js/display/display-anki.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/display/display-anki.js b/ext/js/display/display-anki.js
index dc676702..446b8b48 100644
--- a/ext/js/display/display-anki.js
+++ b/ext/js/display/display-anki.js
@@ -413,7 +413,7 @@ export class DisplayAnki {
if (button !== null) {
button.disabled = !canAdd;
button.hidden = (ankiError !== null);
- if (ankiError) {
+ if (ankiError && ankiError.message !== 'Anki not connected') {
log.error(ankiError);
}