browser: don't default save() to empty string

This commit is contained in:
Nathan Rajlich 2014-05-30 22:13:23 -07:00
parent bea76f587b
commit 3314c7761c

View File

@ -55,9 +55,9 @@ function save(namespaces) {
*/
function load() {
var r = '';
var r;
try {
r = localStorage.debug || '';
r = localStorage.debug;
} catch(e) {}
return r;
}