Skip to content

Commit 16f0ccd

Browse files
authored
Fix getCurrentValue
1 parent f13bbea commit 16f0ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/storage.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function updateLocalStorage(name, value) {
9999

100100
function getCurrentValue(name) {
101101
try {
102-
window.localStorage.getItem(name);
102+
return window.localStorage.getItem(name);
103103
} catch(e) {
104104
return null;
105105
}

0 commit comments

Comments
 (0)