mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
commit
13a70d3186
12 changed files with 61 additions and 31 deletions
|
@ -55,14 +55,16 @@ import LibraryMenu from '../../../scripts/libraryMenu';
|
|||
recordingButtonManager = null;
|
||||
}
|
||||
|
||||
return void view.querySelector('.btnRecord').classList.add('hide');
|
||||
view.querySelector('.btnRecord').classList.add('hide');
|
||||
return;
|
||||
}
|
||||
|
||||
ServerConnections.getApiClient(item.ServerId).getCurrentUser().then(function (user) {
|
||||
if (user.Policy.EnableLiveTvManagement) {
|
||||
import('../../../components/recordingcreator/recordingbutton').then(({default: RecordingButton}) => {
|
||||
if (recordingButtonManager) {
|
||||
return void recordingButtonManager.refreshItem(item);
|
||||
recordingButtonManager.refreshItem(item);
|
||||
return;
|
||||
}
|
||||
|
||||
recordingButtonManager = new RecordingButton({
|
||||
|
@ -1450,7 +1452,8 @@ import LibraryMenu from '../../../scripts/libraryMenu';
|
|||
/* eslint-disable-next-line compat/compat */
|
||||
dom.addEventListener(view, window.PointerEvent ? 'pointerdown' : 'click', function (e) {
|
||||
if (dom.parentWithClass(e.target, ['videoOsdBottom', 'upNextContainer'])) {
|
||||
return void showOsd();
|
||||
showOsd();
|
||||
return;
|
||||
}
|
||||
|
||||
const pointerType = e.pointerType || (layoutManager.mobile ? 'touch' : 'mouse');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue