summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/bg/js/settings.js2
-rw-r--r--ext/bg/settings.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/bg/js/settings.js b/ext/bg/js/settings.js
index 09e92249..f024ee35 100644
--- a/ext/bg/js/settings.js
+++ b/ext/bg/js/settings.js
@@ -33,7 +33,7 @@ function utilAnkiGetDeckNames() {
function utilAnkiGetModelFieldNames(modelName) {
const yomichan = chrome.extension.getBackgroundPage().yomichanBackend;
- return yomichan.anki.utilAnkiGetModelFieldNames(modelName);
+ return yomichan.anki.getModelFieldNames(modelName);
}
function utilDatabaseGetDictionaries() {
diff --git a/ext/bg/settings.html b/ext/bg/settings.html
index 03a9870b..7833a21d 100644
--- a/ext/bg/settings.html
+++ b/ext/bg/settings.html
@@ -276,6 +276,8 @@
<script src="/mixed/lib/bootstrap/js/bootstrap.min.js"></script>
<script src="/mixed/lib/handlebars.min.js"></script>
+ <script src="/bg/js/anki-connect.js"></script>
+ <script src="/bg/js/anki-null.js"></script>
<script src="/bg/js/api.js"></script>
<script src="/bg/js/dictionary.js"></script>
<script src="/bg/js/handlebars.js"></script>