Skip to content

Commit bd7ad2f

Browse files
committed
fix
1 parent 4e816b3 commit bd7ad2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/web_timer_main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const config = {
3131
};
3232

3333
chrome.storage.local.get("web_timer", function (result) {
34-
web_timer = result.web_timer;
34+
web_timer = result.web_timer || {};
3535
console.log(web_timer);
3636

3737
// if (!web_timer || !Object.keys(web_timer).length) {

0 commit comments

Comments
 (0)