1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

create localStorage abstraction

This commit is contained in:
Luke Pulverenti 2014-07-15 15:16:16 -04:00
parent ecba850f43
commit c5a40e9616
19 changed files with 138 additions and 103 deletions

View file

@ -223,7 +223,7 @@
function getTopParentId() {
return getParameterByName('topParentId') || sessionStorage.getItem('topParentId') || null;
return getParameterByName('topParentId') || sessionStore.getItem('topParentId') || null;
}
window.LibraryMenu = {
@ -263,7 +263,7 @@
'' :
getTopParentId() || '';
sessionStorage.setItem('topParentId', id);
sessionStore.setItem('topParentId', id);
$('.lnkMediaFolder').each(function () {