aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg/js')
-rw-r--r--ext/fg/js/frame.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/fg/js/frame.js b/ext/fg/js/frame.js
index ad1c32e8..2cf32e3e 100644
--- a/ext/fg/js/frame.js
+++ b/ext/fg/js/frame.js
@@ -34,6 +34,7 @@ class Frame {
const sequence = ++this.sequence;
const context = {
definitions,
+ grouped: options.groupTermResults,
addable: options.ankiMethod !== 'disabled',
playback: options.enableAudioPlayback
};
@@ -65,6 +66,7 @@ class Frame {
const sequence = ++this.sequence;
const context = {
definitions,
+ grouped: options.groupTermResults,
addable: options.ankiMethod !== 'disabled',
playback: options.enableAudioPlayback
};
@@ -73,7 +75,7 @@ class Frame {
this.showSpinner(false);
window.scrollTo(0, 0);
- renderText(context, 'term-grouped-list.html').then(content => {
+ renderText(context, 'term-list.html').then(content => {
$('.content').html(content);
$('.action-add-note').click(this.onAddNote.bind(this));