Skip to content

Commit 4f816b7

Browse files
authored
Update assets/js/search-page.js
1 parent ffd4276 commit 4f816b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/search-page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ function docTokenFunction (token) {
196196
tokens.push(token.clone().update(() => toSplitWords))
197197
} else if (toSplitWords.startsWith(':')) {
198198
// allow searching for atoms without `:`
199-
toSplitWords = toSplitWords.slice(1)
199+
toSplitWords = toSplitWords.substring(1)
200200
tokens.push(token.clone().update(() => toSplitWords))
201201
}
202202

0 commit comments

Comments
 (0)