1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #3604 from thornbill/fix-custom-elements

Fix custom element creation

(cherry picked from commit f2226ee745)
Signed-off-by: crobibero <cody@robibe.ro>
This commit is contained in:
Bill Thornton 2022-05-06 13:30:10 -04:00 committed by crobibero
parent c74712e13f
commit 0b19f0d85e
3 changed files with 19 additions and 17 deletions

View file

@ -289,6 +289,7 @@ import './login.scss';
disclaimer.innerHTML = DOMPurify.sanitize(marked(options.LoginDisclaimer || ''));
for (const elem of disclaimer.querySelectorAll('a')) {
elem.rel = 'noopener noreferrer';
elem.target = '_blank';
elem.classList.add('button-link');
elem.setAttribute('is', 'emby-linkbutton');