mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 15:25:07 +01:00
Docs: make keyword search case insensitive
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user