summaryrefslogtreecommitdiff
path: root/ext/js/background
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/background')
-rw-r--r--ext/js/background/backend.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/ext/js/background/backend.js b/ext/js/background/backend.js
index f301b4c6..c0410ab8 100644
--- a/ext/js/background/backend.js
+++ b/ext/js/background/backend.js
@@ -167,7 +167,6 @@ export class Backend {
['getStylesheetContent', this._onApiGetStylesheetContent.bind(this)],
['getEnvironmentInfo', this._onApiGetEnvironmentInfo.bind(this)],
['clipboardGet', this._onApiClipboardGet.bind(this)],
- ['getDisplayTemplatesHtml', this._onApiGetDisplayTemplatesHtml.bind(this)],
['getZoom', this._onApiGetZoom.bind(this)],
['getDefaultAnkiFieldTemplates', this._onApiGetDefaultAnkiFieldTemplates.bind(this)],
['getDictionaryInfo', this._onApiGetDictionaryInfo.bind(this)],
@@ -686,11 +685,6 @@ export class Backend {
return this._clipboardReader.getText(false);
}
- /** @type {import('api').ApiHandler<'getDisplayTemplatesHtml'>} */
- async _onApiGetDisplayTemplatesHtml() {
- return await fetchText('/display-templates.html');
- }
-
/** @type {import('api').ApiHandler<'getZoom'>} */
_onApiGetZoom(_params, sender) {
return new Promise((resolve, reject) => {