aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 77dc0d33..4db88365 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -385,8 +385,8 @@ class Backend {
return states;
}
- _onApiNoteView({noteId}) {
- return apiNoteView(noteId);
+ async _onApiNoteView({noteId}) {
+ return this.anki.guiBrowse(`nid:${noteId}`);
}
_onApiTemplateRender({template, data, dynamic}) {