Fix getCurrentValue
This commit is contained in:
parent
f13bbea124
commit
16f0ccda86
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ function updateLocalStorage(name, value) {
|
|||
|
||||
function getCurrentValue(name) {
|
||||
try {
|
||||
window.localStorage.getItem(name);
|
||||
return window.localStorage.getItem(name);
|
||||
} catch(e) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue