1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2025-01-06 21:49:40 +02:00

cheat-sheet: add more negative boost for old icons

This commit is contained in:
rszyma 2023-05-30 15:20:32 +02:00 committed by Fini Jastrow
parent 2360483964
commit 5d1ccc69ab

View File

@ -137,7 +137,7 @@ document.addEventListener('DOMContentLoaded', function () {
combineWith: "AND", combineWith: "AND",
boost: {id: 0.001}, boost: {id: 0.001},
boostDocument: ((documentId, term, storedFields) => { boostDocument: ((documentId, term, storedFields) => {
return storedFields.isRemoved ? 0.001 : 1 return storedFields.isRemoved ? 0.00001 : 1
}), }),
} }
); );