From e1b375c2e0f7572f966adccd3dbec733a6695664 Mon Sep 17 00:00:00 2001 From: "SLS\\niklil" Date: Tue, 10 Mar 2020 14:28:55 +0200 Subject: [PATCH] fix: fix the attribute issue causing compile error --- src/components/comments/comments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/comments/comments.ts b/src/components/comments/comments.ts index 102a759c..c56f1086 100644 --- a/src/components/comments/comments.ts +++ b/src/components/comments/comments.ts @@ -124,7 +124,7 @@ export class CommentsComponent { } }.bind(this), 500); } else if ( elem.classList !== undefined && elem.classList.contains('ext') ) { - const ref = window.open(elem.href, '_blank', 'location=no'); + const ref = window.open(elem.getAttribute('href'), '_blank', 'location=no'); } } catch ( e ) {}