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