mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 13:11:15 -07:00
Save graph visibility state
This commit is contained in:
parent
83a4dfc0de
commit
1ef4fd294a
13 changed files with 161 additions and 101 deletions
|
@ -517,8 +517,15 @@ function PopupCenter(url, title, w, h) {
|
|||
return newWindow;
|
||||
}
|
||||
|
||||
if (!localStorage.getItem('Tautulli_ClientId')) {
|
||||
localStorage.setItem('Tautulli_ClientId', uuidv4());
|
||||
function setLocalStorage(key, value) {
|
||||
localStorage.setItem(key, value);
|
||||
}
|
||||
function getLocalStorage(key) {
|
||||
return localStorage.getItem(key);
|
||||
}
|
||||
|
||||
if (!getLocalStorage('Tautulli_ClientId')) {
|
||||
setLocalStorage('Tautulli_ClientId', uuidv4());
|
||||
}
|
||||
|
||||
function uuidv4() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue