From d33c86d30c8a7d2b666d5b2f68c48db4825859f3 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Mon, 6 Jun 2022 23:34:54 +0200 Subject: [PATCH] Fix etymology box, fix #863 --- UI/Wikipedia/WikidataPreviewBox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/Wikipedia/WikidataPreviewBox.ts b/UI/Wikipedia/WikidataPreviewBox.ts index ebda722a6..ca997d42d 100644 --- a/UI/Wikipedia/WikidataPreviewBox.ts +++ b/UI/Wikipedia/WikidataPreviewBox.ts @@ -91,7 +91,7 @@ export default class WikidataPreviewBox extends VariableUiElement { let link = new Link( new Combine([ wikidata.id, - options.noImages ? wikidata.id : Svg.wikidata_svg().SetStyle("width: 2.5rem").SetClass("block") + options?.noImages ? wikidata.id : Svg.wikidata_svg().SetStyle("width: 2.5rem").SetClass("block") ]).SetClass("flex"), Wikidata.IdToArticle(wikidata.id), true)?.SetClass("must-link")