mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add error handling
This commit is contained in:
parent
ab202bfa83
commit
48c0634cc6
1 changed files with 3 additions and 1 deletions
|
@ -260,7 +260,9 @@
|
||||||
|
|
||||||
elem.classList.remove('videoOsdBottom-hidden');
|
elem.classList.remove('videoOsdBottom-hidden');
|
||||||
|
|
||||||
focusManager.focus(elem.querySelector('.btnPause'));
|
setTimeout(function () {
|
||||||
|
focusManager.focus(elem.querySelector('.btnPause'));
|
||||||
|
}, 50);
|
||||||
|
|
||||||
view.dispatchEvent(new CustomEvent('video-osd-show', {
|
view.dispatchEvent(new CustomEvent('video-osd-show', {
|
||||||
bubbles: true,
|
bubbles: true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue