mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Destruction of Require
This commit is contained in:
parent
276f4ccb3a
commit
3a23b6e36c
14 changed files with 27 additions and 24 deletions
|
@ -70,7 +70,7 @@ import 'css!./searchfields';
|
|||
|
||||
function embed(elem, instance, options) {
|
||||
|
||||
require(['text!./searchfields.template.html'], function (template) {
|
||||
import('text!./searchfields.template.html').then(({default: template}) => {
|
||||
|
||||
let html = globalize.translateDocument(template, 'core');
|
||||
|
||||
|
|
|
@ -604,7 +604,7 @@ import 'emby-button';
|
|||
|
||||
function embed(elem, instance, options) {
|
||||
|
||||
require(['text!./searchresults.template.html'], function (template) {
|
||||
import('text!./searchresults.template.html').then(({default: template}) => {
|
||||
|
||||
if (!enableScrollX()) {
|
||||
template = replaceAll(template, 'data-horizontal="true"', 'data-horizontal="false"');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue