mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix query selector target
This commit is contained in:
parent
828fa340d5
commit
1fb5c4d95d
1 changed files with 3 additions and 3 deletions
|
@ -510,11 +510,11 @@ import { appRouter } from '../../../components/appRouter';
|
||||||
}
|
}
|
||||||
|
|
||||||
function onBeginFetch() {
|
function onBeginFetch() {
|
||||||
document.querySelector('.osdMediaStatus').classList.remove('hide');
|
view.querySelector('.osdMediaStatus').classList.remove('hide');
|
||||||
}
|
}
|
||||||
|
|
||||||
function onEndFetch() {
|
function onEndFetch() {
|
||||||
document.querySelector('.osdMediaStatus').classList.add('hide');
|
view.querySelector('.osdMediaStatus').classList.add('hide');
|
||||||
}
|
}
|
||||||
|
|
||||||
function bindToPlayer(player) {
|
function bindToPlayer(player) {
|
||||||
|
@ -1308,7 +1308,7 @@ import { appRouter } from '../../../components/appRouter';
|
||||||
const btnFastForward = view.querySelector('.btnFastForward');
|
const btnFastForward = view.querySelector('.btnFastForward');
|
||||||
const transitionEndEventName = dom.whichTransitionEvent();
|
const transitionEndEventName = dom.whichTransitionEvent();
|
||||||
const headerElement = document.querySelector('.skinHeader');
|
const headerElement = document.querySelector('.skinHeader');
|
||||||
const osdBottomElement = document.querySelector('.videoOsdBottom-maincontrols');
|
const osdBottomElement = view.querySelector('.videoOsdBottom-maincontrols');
|
||||||
|
|
||||||
nowPlayingPositionSlider.enableKeyboardDragging();
|
nowPlayingPositionSlider.enableKeyboardDragging();
|
||||||
nowPlayingVolumeSlider.enableKeyboardDragging();
|
nowPlayingVolumeSlider.enableKeyboardDragging();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue