28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
From 206ce2744cdaa166ee482fba90a879f2688b234a Mon Sep 17 00:00:00 2001
|
|
From: catvayor <catvayor@katvayor.net>
|
|
Date: Sat, 21 Dec 2024 10:14:46 +0100
|
|
Subject: [PATCH] feat: match all substring by default
|
|
|
|
---
|
|
layouts/index.html | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/layouts/index.html b/layouts/index.html
|
|
index 780ea78..c50ada4 100644
|
|
--- a/layouts/index.html
|
|
+++ b/layouts/index.html
|
|
@@ -109,9 +109,9 @@
|
|
<li>Strategy</li>
|
|
<li>
|
|
<select id="indexStrategySelect" style="margin-bottom:0">
|
|
- <option value="JsSearch.AllSubstringsIndexStrategy">All substrings</option>
|
|
+ <option value="JsSearch.AllSubstringsIndexStrategy" selected>All substrings</option>
|
|
<option value="JsSearch.ExactWordIndexStrategy">Exact match</option>
|
|
- <option value="JsSearch.PrefixIndexStrategy" selected>Prefix matching</option>
|
|
+ <option value="JsSearch.PrefixIndexStrategy">Prefix matching</option>
|
|
</select>
|
|
</li>
|
|
</div>
|
|
--
|
|
2.47.0
|
|
|