mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
Fix getCurrentValue
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user