mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 13:11:15 -07:00
Version graphs to bypass cache
This commit is contained in:
parent
5c54283df7
commit
d728f7a11e
2 changed files with 14 additions and 11 deletions
|
@ -525,6 +525,9 @@ function setLocalStorage(key, value, path) {
|
|||
localStorage.setItem(key, value);
|
||||
}
|
||||
function getLocalStorage(key, default_value, path) {
|
||||
if (path !== false) {
|
||||
key = key + '_' + window.location.pathname;
|
||||
}
|
||||
var value = localStorage.getItem(key);
|
||||
if (value !== null) {
|
||||
return value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue