mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 13:43:06 -04:00
fix weblink, add def and d as dictionary aliases
This commit is contained in:
parent
69949588b0
commit
2a9eca457a
2 changed files with 3 additions and 3 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue