We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c032ce + eab9d54 commit 2ef483bCopy full SHA for 2ef483b
1 file changed
AboutMe/Wasm/Pages/Blog.razor.cs
@@ -47,7 +47,6 @@ protected override async Task OnAfterRenderAsync(bool firstRender)
47
48
if (!IsLoading && Posts.Count > 0)
49
{
50
- await jsRuntime.InvokeVoidAsync("eval", "Array.from(document.querySelectorAll('a')).forEach(a => a.setAttribute('target', '_blank'))");
51
await jsRuntime.InvokeVoidAsync("eval",
52
"document.querySelectorAll('.content-wrapper a').forEach(a => { a.target = '_blank'; a.rel = 'noopener noreferrer'; });");
53
}
0 commit comments