summaryrefslogtreecommitdiff
path: root/ext/js/display/display.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-12-17 16:11:19 -0500
committerGitHub <noreply@github.com>2021-12-17 16:11:19 -0500
commit19ab9df6e4110ef7d5927c95993141a1f8960c53 (patch)
tree31849bf1e1c9622cd1aa3aeb0709ad95ffc744b1 /ext/js/display/display.js
parent70fa701c906fa4319e0d62818fe5737e983b49ef (diff)
Replace 'wildcard' parameter with 'matchType' (#2038)
Diffstat (limited to 'ext/js/display/display.js')
-rw-r--r--ext/js/display/display.js4
1 files changed, 2 insertions, 2 deletions
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];
}