mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update ffmpeg with qsv-compatible version
This commit is contained in:
parent
2b091ce5de
commit
c08a709ad1
8 changed files with 107 additions and 80 deletions
|
@ -1,6 +1,6 @@
|
|||
(function (globalScope) {
|
||||
|
||||
function paperDialogHashHandler(dlg, hash) {
|
||||
function paperDialogHashHandler(dlg, hash, lockDocumentScroll) {
|
||||
|
||||
var isActive = true;
|
||||
|
||||
|
@ -21,7 +21,9 @@
|
|||
|
||||
function onDialogClosed() {
|
||||
|
||||
Dashboard.onPopupClose();
|
||||
if (lockDocumentScroll !== false) {
|
||||
Dashboard.onPopupClose();
|
||||
}
|
||||
|
||||
dlg = null;
|
||||
$(window).off('navigate', onHashChange);
|
||||
|
@ -35,16 +37,19 @@
|
|||
|
||||
$(dlg).on('iron-overlay-closed', onDialogClosed);
|
||||
dlg.open();
|
||||
Dashboard.onPopupOpen();
|
||||
|
||||
if (lockDocumentScroll !== false) {
|
||||
Dashboard.onPopupOpen();
|
||||
}
|
||||
|
||||
window.location.hash = hash;
|
||||
|
||||
$(window).on('navigate', onHashChange);
|
||||
}
|
||||
|
||||
function openWithHash(dlg, hash) {
|
||||
function openWithHash(dlg, hash, lockDocumentScroll) {
|
||||
|
||||
new paperDialogHashHandler(dlg, hash);
|
||||
new paperDialogHashHandler(dlg, hash, lockDocumentScroll);
|
||||
}
|
||||
|
||||
globalScope.PaperDialogHelper = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue