From 8a377cabe6b3d177aac50cdb7ffb5a4328d27fd0 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 17 Dec 2021 17:02:13 -0500 Subject: matchType/deinflect distinction (#2040) * Pass a "deinflect" option to findTerms * Update Translator to use deinflect option * Fix test input options --- ext/js/display/display.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/js/display') diff --git a/ext/js/display/display.js b/ext/js/display/display.js index 50df3b9d..cd60488d 100644 --- a/ext/js/display/display.js +++ b/ext/js/display/display.js @@ -851,8 +851,10 @@ class Display extends EventDispatcher { if (match !== null) { if (match[1]) { findDetails.matchType = 'suffix'; + findDetails.deinflect = false; } else if (match[3]) { findDetails.matchType = 'prefix'; + findDetails.deinflect = false; } source = match[2]; } -- cgit v1.2.3