aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/yomichan.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-22 13:41:52 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-22 13:41:52 -0700
commit7c06a224514ed4288122160bfac84f9ae7521897 (patch)
tree5f458b8b916ec7cbcf4613609d13e18d9669de67 /ext/bg/js/yomichan.js
parent997947caedc109ba3e21017b38de36e21c4a7255 (diff)
Field selector working
Diffstat (limited to 'ext/bg/js/yomichan.js')
-rw-r--r--ext/bg/js/yomichan.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js
index 1714e778..d62f97aa 100644
--- a/ext/bg/js/yomichan.js
+++ b/ext/bg/js/yomichan.js
@@ -156,8 +156,8 @@ class Yomichan {
this.ankiInvoke('modelNames', {}, null, callback);
}
- api_getModelFieldNames({callback}) {
- this.ankiInvoke('modelFieldNames', {}, null, callback);
+ api_getModelFieldNames({modelName, callback}) {
+ this.ankiInvoke('modelFieldNames', {modelName}, null, callback);
}
api_getOptions({callback}) {