Move dom.js to utils
This commit is contained in:
@@ -3,7 +3,7 @@ import escapeHtml from 'escape-html';
|
||||
import taskButton from 'scripts/taskbutton';
|
||||
import loading from 'components/loading/loading';
|
||||
import globalize from 'lib/globalize';
|
||||
import dom from 'scripts/dom';
|
||||
import dom from 'utils/dom';
|
||||
import imageHelper from 'utils/image';
|
||||
import 'components/cardbuilder/card.scss';
|
||||
import 'elements/emby-itemrefreshindicator/emby-itemrefreshindicator';
|
||||
|
||||
@@ -2,7 +2,7 @@ import 'jquery';
|
||||
|
||||
import globalize from 'lib/globalize';
|
||||
import taskButton from 'scripts/taskbutton';
|
||||
import dom from 'scripts/dom';
|
||||
import dom from 'utils/dom';
|
||||
import layoutManager from 'components/layoutManager';
|
||||
import loading from 'components/loading/loading';
|
||||
import browser from 'scripts/browser';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import globalize from 'lib/globalize';
|
||||
import loading from 'components/loading/loading';
|
||||
import dom from 'scripts/dom';
|
||||
import dom from 'utils/dom';
|
||||
import 'elements/emby-input/emby-input';
|
||||
import 'elements/emby-button/emby-button';
|
||||
import 'elements/emby-checkbox/emby-checkbox';
|
||||
|
||||
@@ -4,7 +4,7 @@ import React, { useEffect, useState, useRef } from 'react';
|
||||
import Dashboard from '../../../../utils/dashboard';
|
||||
import globalize from '../../../../lib/globalize';
|
||||
import loading from '../../../../components/loading/loading';
|
||||
import dom from '../../../../scripts/dom';
|
||||
import dom from '../../../../utils/dom';
|
||||
import confirm from '../../../../components/confirm/confirm';
|
||||
import UserCardBox from '../../../../components/dashboard/users/UserCardBox';
|
||||
import SectionTitleContainer from '../../../../elements/SectionTitleContainer';
|
||||
|
||||
@@ -5,7 +5,7 @@ import confirm from 'components/confirm/confirm';
|
||||
import loading from 'components/loading/loading';
|
||||
import globalize from 'lib/globalize';
|
||||
import { ServerConnections } from 'lib/jellyfin-apiclient';
|
||||
import dom from 'scripts/dom';
|
||||
import dom from 'utils/dom';
|
||||
import taskButton from 'scripts/taskbutton';
|
||||
import Dashboard, { pageClassOn, pageIdOn } from 'utils/dashboard';
|
||||
import imageHelper from 'utils/image';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import loading from 'components/loading/loading';
|
||||
import { ServerConnections } from 'lib/jellyfin-apiclient';
|
||||
import Dashboard from 'utils/dashboard';
|
||||
import dom from 'scripts/dom';
|
||||
import dom from 'utils/dom';
|
||||
|
||||
import 'elements/emby-button/emby-button';
|
||||
import 'elements/emby-select/emby-select';
|
||||
|
||||
Reference in New Issue
Block a user