diff --git a/src/UI/SpecialVisualizations.ts b/src/UI/SpecialVisualizations.ts index 258eb621ed..bf013d8542 100644 --- a/src/UI/SpecialVisualizations.ts +++ b/src/UI/SpecialVisualizations.ts @@ -1294,7 +1294,10 @@ export default class SpecialVisualizations { tagSource: UIEventSource>, args: string[] ): BaseUIElement { - const [text, href, classnames, download, ariaLabel] = args + let [text, href, classnames, download, ariaLabel] = args + if (download === "") { + download = undefined + } const newTab = download === undefined && !href.startsWith("#") return new VariableUiElement( tagSource.map(