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

Merge pull request #3479 from davidmurdoch/fix/buttons-arent-for-links

Change buttons that act as links to anchor tags
This commit is contained in:
Bill Thornton 2022-04-19 16:42:13 -04:00 committed by GitHub
commit 89af1e339d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 5 deletions

View file

@ -791,7 +791,7 @@ function renderDetailImage(elem, item, imageLoader) {
imageLoader.lazyChildren(elem);
// Avoid breaking the design by preventing focus of the poster using the keyboard.
elem.querySelector('button').tabIndex = -1;
elem.querySelector('a').tabIndex = -1;
}
function renderImage(page, item) {