aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/anki-note-builder.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/anki-note-builder.js')
-rw-r--r--ext/bg/js/anki-note-builder.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/bg/js/anki-note-builder.js b/ext/bg/js/anki-note-builder.js
index e396bec6..0e17783b 100644
--- a/ext/bg/js/anki-note-builder.js
+++ b/ext/bg/js/anki-note-builder.js
@@ -96,10 +96,8 @@ class AnkiNoteBuilder {
if (filename !== null) {
definition.audio = {url: uri, filename};
}
-
- return true;
} catch (e) {
- return false;
+ // NOP
}
}