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

resolve mixed folder detection

This commit is contained in:
Luke Pulverenti 2014-12-04 00:24:41 -05:00
parent 84c83ba967
commit 8a14efb22b
4 changed files with 40 additions and 37 deletions

View file

@ -23,8 +23,13 @@
}
function set(data) {
credentials = data;
store.setItem(key, JSON.stringify(get()));
if (data) {
credentials = data;
store.setItem(key, JSON.stringify(data));
} else {
self.clear();
}
}
self.clear = function () {