diff options
Diffstat (limited to 'ext/bg')
-rw-r--r-- | ext/bg/js/yomichan.js | 4 | ||||
-rw-r--r-- | ext/bg/options.html | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ext/bg/js/yomichan.js b/ext/bg/js/yomichan.js index 0187f76f..1714e778 100644 --- a/ext/bg/js/yomichan.js +++ b/ext/bg/js/yomichan.js @@ -156,6 +156,10 @@ class Yomichan { this.ankiInvoke('modelNames', {}, null, callback); } + api_getModelFieldNames({callback}) { + this.ankiInvoke('modelFieldNames', {}, null, callback); + } + api_getOptions({callback}) { callback(this.options); } diff --git a/ext/bg/options.html b/ext/bg/options.html index cd0710aa..ae7e4257 100644 --- a/ext/bg/options.html +++ b/ext/bg/options.html @@ -100,7 +100,7 @@ <th>Value</th> </tr> </thead> - <tbody id="ankiVocabFields"> + <tbody class="ankiFields"> </tbody> </table> </div> @@ -126,7 +126,7 @@ <th>Value</th> </tr> </thead> - <tbody id="ankiKanjiFields"> + <tbody class="ankiFields"> </tbody> </table> </div> |