Commit 0453d80a authored by techird's avatar techird

Merge branch 'dev' of https://github.com/fex-team/kityminder into dev

parents 24230ef1 ffc41978
...@@ -66,7 +66,7 @@ kity.extendClass( Minder, function(){ ...@@ -66,7 +66,7 @@ kity.extendClass( Minder, function(){
return null; return null;
}, },
resetPreferences:function(pres){ resetPreferences:function(pres){
var str = pres ? JSON.parse(pres) : ''; var str = pres ? JSON.stringify(pres) : '';
LocalStorage.saveLocalData(str) LocalStorage.saveLocalData(str)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment