Skip to content

Commit da24cb0

Browse files
committed
fix localstorage read bug
1 parent 7b35f52 commit da24cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/utilities.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function saveKeyValueToLocalStorage(k, v) {
7878

7979
function getKeyValueFromLocalStorage(k) {
8080
try {
81-
return localStorage.getItem(k);
81+
return btoa(localStorage.getItem(k));
8282
} catch (e) {
8383
console.log('Unable to get data:', e);
8484
return false;

0 commit comments

Comments
 (0)