mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove getParameterByName global
This commit is contained in:
parent
8e66ba315a
commit
67169e2a6a
12 changed files with 23 additions and 15 deletions
|
@ -3,6 +3,7 @@ import dom from '../../../scripts/dom';
|
|||
import '../../../elements/emby-input/emby-input';
|
||||
import '../../../elements/emby-button/emby-button';
|
||||
import Dashboard from '../../../scripts/clientUtils';
|
||||
import { getParameterByName } from '../../../utils/url.ts';
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ import '../../../elements/emby-checkbox/emby-checkbox';
|
|||
import '../../../components/listview/listview.scss';
|
||||
import Dashboard from '../../../scripts/clientUtils';
|
||||
import toast from '../../../components/toast/toast';
|
||||
import { getParameterByName } from '../../../utils/url.ts';
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ import escapeHtml from 'escape-html';
|
|||
import 'jquery';
|
||||
import '../../../../elements/emby-checkbox/emby-checkbox';
|
||||
import Dashboard from '../../../../scripts/clientUtils';
|
||||
import { getParameterByName } from '../../../../utils/url.ts';
|
||||
|
||||
function fillItems(elem, items, cssClass, idPrefix, currentList, isEnabledList) {
|
||||
let html = '<div class="checkboxList paperList" style="padding: .5em 1em;">';
|
||||
|
|
|
@ -7,6 +7,7 @@ import '../../../elements/emby-input/emby-input';
|
|||
import '../../../elements/emby-button/emby-button';
|
||||
import '../../../elements/emby-select/emby-select';
|
||||
import confirm from '../../../components/confirm/confirm';
|
||||
import { getParameterByName } from '../../../utils/url.ts';
|
||||
|
||||
/* eslint-disable indent */
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ import { Events } from 'jellyfin-apiclient';
|
|||
import loading from '../components/loading/loading';
|
||||
import globalize from '../scripts/globalize';
|
||||
import Dashboard, { pageIdOn } from '../scripts/clientUtils';
|
||||
import { getParameterByName } from '../utils/url.ts';
|
||||
|
||||
function onListingsSubmitted() {
|
||||
Dashboard.navigate('livetvstatus.html');
|
||||
|
|
|
@ -6,6 +6,7 @@ import '../elements/emby-button/emby-button';
|
|||
import '../elements/emby-checkbox/emby-checkbox';
|
||||
import '../elements/emby-select/emby-select';
|
||||
import Dashboard from '../scripts/clientUtils';
|
||||
import { getParameterByName } from '../utils/url.ts';
|
||||
|
||||
function isM3uVariant(type) {
|
||||
return ['nextpvr'].indexOf(type || '') !== -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue