mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Docs: make keyword search case insensitive
This commit is contained in:
parent
9f384e1c6c
commit
81ee8bc30f
@ -105,7 +105,7 @@
|
|||||||
.then(function (entries) {
|
.then(function (entries) {
|
||||||
const results = [];
|
const results = [];
|
||||||
entries.forEach(function (entry) {
|
entries.forEach(function (entry) {
|
||||||
if (entry.k.includes(keyword)) {
|
if (entry.k.includes(keyword.trim().toLowerCase())) {
|
||||||
results.push({
|
results.push({
|
||||||
title: entry.t,
|
title: entry.t,
|
||||||
link: entry.l,
|
link: entry.l,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user