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

remove missed require

This commit is contained in:
Cameron 2020-08-13 22:31:31 +01:00
parent 5de2498f12
commit b1c96575f2

View file

@ -2,7 +2,6 @@ import dialogHelper from 'dialogHelper';
import globalize from 'globalize';
import layoutManager from 'layoutManager';
import connectionManager from 'connectionManager';
import require from 'require';
import loading from 'loading';
import scrollHelper from 'scrollHelper';
import 'scrollStyles';
@ -91,7 +90,7 @@ function showEditor(itemId, serverId, options) {
options = options || {};
currentResolve = resolve;
require(['text!./recordingeditor.template.html'], function (template) {
import('text!./recordingeditor.template.html').then(({default: template}) => {
const dialogOptions = {
removeOnClose: true,
scrollY: false