From b999627ba5ee1570cd0a05d1374ee922e814ab72 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sat, 7 Mar 2020 22:01:03 +0000 Subject: [PATCH] fix(core): update --- ts/meta/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/meta/index.ts b/ts/meta/index.ts index 7c7d9cd..ade085b 100644 --- a/ts/meta/index.ts +++ b/ts/meta/index.ts @@ -42,7 +42,8 @@ const addOpenGraphProperty = async ( contentArg: string ): Promise => { const openGraphElement = document.createElement('meta'); - openGraphElement.name = propertyNameArg; + const anonGE: any = openGraphElement; + anonGE.property = propertyNameArg; openGraphElement.content = contentArg; document.getElementsByTagName('head')[0].appendChild(openGraphElement); return openGraphElement;