mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Simplify url utils
This commit is contained in:
parent
67169e2a6a
commit
3412201532
5 changed files with 8 additions and 30 deletions
|
@ -300,9 +300,9 @@ import { getParameterByName } from '../utils/url.ts';
|
|||
if (itemId) {
|
||||
return itemId;
|
||||
}
|
||||
const url = window.location.hash || window.location.href;
|
||||
return getParameterByName('id', url);
|
||||
return getParameterByName('id');
|
||||
}
|
||||
|
||||
let nodesToLoad = [];
|
||||
let selectedNodeId;
|
||||
$(document).on('itemsaved', '.metadataEditorPage', function (e, item) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue