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:
parent
e8e1978bb4
commit
2957a40d8d
5 changed files with 27 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue