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:
parent
c74712e13f
commit
0b19f0d85e
3 changed files with 19 additions and 17 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue