From 19ab9df6e4110ef7d5927c95993141a1f8960c53 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 17 Dec 2021 16:11:19 -0500 Subject: Replace 'wildcard' parameter with 'matchType' (#2038) --- ext/js/display/display.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/js/display') diff --git a/ext/js/display/display.js b/ext/js/display/display.js index 697e735f..50df3b9d 100644 --- a/ext/js/display/display.js +++ b/ext/js/display/display.js @@ -850,9 +850,9 @@ class Display extends EventDispatcher { const match = /^([*\uff0a]*)([\w\W]*?)([*\uff0a]*)$/.exec(source); if (match !== null) { if (match[1]) { - findDetails.wildcard = 'prefix'; + findDetails.matchType = 'suffix'; } else if (match[3]) { - findDetails.wildcard = 'suffix'; + findDetails.matchType = 'prefix'; } source = match[2]; } -- cgit v1.2.3