Skip to content

Commit 613065a

Browse files
committed
dist: recompile
1 parent febc3fe commit 613065a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dist/debug.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,11 @@ function log() {
104104

105105
function save(namespaces) {
106106
try {
107-
localStorage.debug = namespaces;
107+
if (null == namespaces) {
108+
localStorage.removeItem('debug');
109+
} else {
110+
localStorage.debug = namespaces;
111+
}
108112
} catch(e) {}
109113
}
110114

0 commit comments

Comments
 (0)