antonyms shouldn't be listed in the same group (part of pv2)

This commit is contained in:
bignutty 2025-03-12 17:59:35 +01:00
parent bf8d5ce76e
commit 69949588b0
2 changed files with 0 additions and 2 deletions

View file

@ -36,7 +36,6 @@ function renderDictionaryEntry(context, result, definition, language) {
let nyms = [];
if(d.synonyms) nyms = nyms.concat(d.synonyms.map((sd)=>smallPill(sd)))
if(d.antonyms) nyms = nyms.concat(d.antonyms.map((sd)=>pill(sd)))
// Display up to 6 random synonyms/antonyms
if(nyms.length >= 1) {

View file

@ -35,7 +35,6 @@ function renderDictionaryEntry(context, result, definition, language) {
let nyms = [];
if(d.synonyms) nyms = nyms.concat(d.synonyms.map((sd)=>smallPill(sd)))
if(d.antonyms) nyms = nyms.concat(d.antonyms.map((sd)=>pill(sd)))
// Display up to 6 random synonyms/antonyms
if(nyms.length >= 1) {