1
0
Fork 0
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:
Bill Thornton 2022-04-06 17:31:54 -04:00
parent 67169e2a6a
commit 3412201532
5 changed files with 8 additions and 30 deletions

View file

@ -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) {