fix weblink, add def and d as dictionary aliases

This commit is contained in:
bignutty 2025-03-14 12:42:53 +01:00
parent 69949588b0
commit 2a9eca457a
2 changed files with 3 additions and 3 deletions

View file

@ -52,7 +52,7 @@ function renderDictionaryEntry(context, result, definition, language) {
if(defs.length > 5){
defs = defs.splice(0, 5);
defs.push(`${link("https://www.google.com/search?q=define+${encodeURIComponent(result.word)}", `More Definitions ${icon("open_in_new")}`)}`)
defs.push(link(`https://www.google.com/search?q=define+${encodeURIComponent(result.word)}`, `More Definitions ${icon("open_in_new")}`))
}
card.description += defs.join("\n\n")