summaryrefslogtreecommitdiff
path: root/ext/js/background/offscreen-proxy.js
diff options
context:
space:
mode:
authorjbukl <148171160+jbukl@users.noreply.github.com>2023-11-17 11:49:58 -0500
committerjbukl <148171160+jbukl@users.noreply.github.com>2023-11-17 11:49:58 -0500
commit6290a4febc90c6fe98d37b83897432f402474ed4 (patch)
tree9883536ae384bb2765a836f83d0eb0bfe1a40bdb /ext/js/background/offscreen-proxy.js
parent9b62b8de7792eec254f8c464c2060a3ecbb40ce6 (diff)
Fix text replacements offscreen
Diffstat (limited to 'ext/js/background/offscreen-proxy.js')
-rw-r--r--ext/js/background/offscreen-proxy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/background/offscreen-proxy.js b/ext/js/background/offscreen-proxy.js
index ae414b99..c01f523d 100644
--- a/ext/js/background/offscreen-proxy.js
+++ b/ext/js/background/offscreen-proxy.js
@@ -143,7 +143,7 @@ export class TranslatorProxy {
...findTermsOptions,
enabledDictionaryMap: enabledDictionaryMapList,
excludeDictionaryDefinitions: excludeDictionaryDefinitionsList,
- textReplacementsOptions: textReplacementsSerialized
+ textReplacements: textReplacementsSerialized
};
return this._offscreen.sendMessagePromise({action: 'findTermsOffscreen', params: {mode, text, findTermsOptions: modifiedFindTermsOptions}});
}