summaryrefslogtreecommitdiff
path: root/ext/bg/js/dictionary-importer.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-19 10:24:36 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-19 10:24:43 -0400
commit0e80c0d5d03b51c56e72657a46c868c9a2c1137d (patch)
tree7b9831504db00bbe98479e0e326eeaabbc8f4919 /ext/bg/js/dictionary-importer.js
parent16893b52b141938a32027049b71cc6c6f46dfb93 (diff)
Rename loadImage to loadImageBase64 for clarity
Diffstat (limited to 'ext/bg/js/dictionary-importer.js')
-rw-r--r--ext/bg/js/dictionary-importer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/dictionary-importer.js b/ext/bg/js/dictionary-importer.js
index b5c535bb..3727f7ee 100644
--- a/ext/bg/js/dictionary-importer.js
+++ b/ext/bg/js/dictionary-importer.js
@@ -331,7 +331,7 @@ class DictionaryImporter {
let image;
try {
- image = await mediaUtility.loadImage(mediaType, content);
+ image = await mediaUtility.loadImageBase64(mediaType, content);
} catch (e) {
throw new Error(`Could not load image at path ${JSON.stringify(path)} for ${errorSource}`);
}