From 5948229176d9a23f1a8fe9f7125c32bece34f100 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sat, 12 Dec 2020 14:57:24 -0500 Subject: Add info page (#1102) * Add api.getAnkiConnectVersion * Enable basic functionality when certain features/elements aren't present * Add info page * Update information links * Update info link on the settings v2 page --- ext/mixed/js/api.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/mixed') diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js index c840adca..32dd332e 100644 --- a/ext/mixed/js/api.js +++ b/ext/mixed/js/api.js @@ -73,6 +73,10 @@ const api = (() => { return this._invoke('isAnkiConnected'); } + getAnkiConnectVersion() { + return this._invoke('getAnkiConnectVersion'); + } + addAnkiNote(note) { return this._invoke('addAnkiNote', {note}); } -- cgit v1.2.3