Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(client): open the blob stub link with noopener,noreferrer
Elian Doranadbabb1016e9
diff --git a/apps/client/src/widgets/type_widgets/BlobStub.tsx b/apps/client/src/widgets/type_widgets/BlobStub.tsxindex c1c7c49f72..c75174f8f8 100644--- a/apps/client/src/widgets/type_widgets/BlobStub.tsx+++ b/apps/client/src/widgets/type_widgets/BlobStub.tsx@@ -23,7 +23,7 @@ export default function BlobStub({ note }: TypeWidgetProps) {<Buttonkind="primary"text={t("blob_stub.open_on_server")}- onClick={() => window.open(url, "_blank")}+ onClick={() => window.open(url, "_blank", "noopener,noreferrer")}/>)}</NoItems>