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

support adding additional users to sessions

This commit is contained in:
Luke Pulverenti 2014-01-03 21:35:41 -05:00
parent e8e1978bb4
commit 2957a40d8d
5 changed files with 27 additions and 10 deletions

View file

@ -1,6 +1,10 @@
function IsStorageEnabled() {
if (!window.localStorage) {
return false;
}
try {
localStorage.setItem("__test", "data");
window.localStorage.setItem("__test", "data");
} catch (err) {
if ((err.name).toUpperCase() == 'QUOTA_EXCEEDED_ERR') {
return false;