Properly serialize boolean
Signed-off-by: Andrey Kuzmin <andrey.kuzmin@soundcloud.com>
This commit is contained in:
parent
20c336fe22
commit
658dd3a29f
|
@ -27,7 +27,7 @@
|
|||
localStorage.setItem('defaultCreator', name);
|
||||
});
|
||||
app.ports.persistGroupExpandAll.subscribe(function(expanded) {
|
||||
localStorage.setItem('groupExpandAll', expanded);
|
||||
localStorage.setItem('groupExpandAll', JSON.stringify(expanded));
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue