Fixing local storage issue.
This commit is contained in:
parent
3973a4cee5
commit
2afbc7f77a
@ -149,9 +149,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getProfile() {
|
function getProfile() {
|
||||||
var profile = JSON.parse(localStorage.profile || '{}');
|
return localStorage.profile || '{}';
|
||||||
profile.serial = true;
|
|
||||||
return profile;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
window.onpopstate = function(state) {
|
window.onpopstate = function(state) {
|
||||||
|
Loading…
Reference in New Issue
Block a user