Skip to content

Commit 4531993

Browse files
committed
mix fix JS
1 parent 3175839 commit 4531993

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/js/search-page.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,10 @@ function docTokenFunction (token) {
183183
}
184184

185185
toSplitWords = parts[parts.length - 1]
186-
} else if (toSplitWords.startsWith("@")) {
186+
} else if (toSplitWords.startsWith('@')) {
187187
// If we have a module attribute, such as @foo_bar,
188188
// also make it searchable as foo_bar
189-
toSplitWords = toSplitWords.substring(1);
189+
toSplitWords = toSplitWords.substring(1)
190190
tokens.push(token.clone().update(() => toSplitWords))
191191
}
192192

0 commit comments

Comments
 (0)