aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-07-27 21:45:18 -0700
committerAlex Yatskov <alex@foosoft.net>2017-07-27 21:45:18 -0700
commit9ecc7c17f3800c891b6681fd4b8738898ae6d4b6 (patch)
tree71e2aa7ba90e189f297545dd130fbec77e229c89 /ext/bg
parentadbc7a32cc0cb050b29443e0719e36dd8fafde58 (diff)
cleanup
Diffstat (limited to 'ext/bg')
-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>