Commit 42fa0f194f3553b218e802644d606bec96a8f164
tidy
Dominic Tarr committed on 8/17/2017, 7:14:56 PMParent: e65b2dcf982e55434b4c16b527d24c1ad7182f89
Files changed
unread.js | changed |
unread.js | ||
---|---|---|
@@ -29,9 +29,8 @@ | ||
29 | 29 | if(timer) return |
30 | 30 | |
31 | 31 | timer = setTimeout(function () { |
32 | 32 | timer = null |
33 | - console.log("SAVE") | |
34 | 33 | localStorage.unread = JSON.stringify(unread) |
35 | 34 | }, 2e3) |
36 | 35 | } |
37 | 36 | |
@@ -51,9 +50,8 @@ | ||
51 | 50 | unread.filter[msg.key] = true |
52 | 51 | save() |
53 | 52 | return true |
54 | 53 | //} |
55 | - | |
56 | 54 | } |
57 | 55 | } |
58 | 56 | |
59 | 57 | document.body.onunload = save |
@@ -63,9 +61,4 @@ | ||
63 | 61 | 'unread.sync.markRead': markRead |
64 | 62 | }) |
65 | 63 | } |
66 | 64 | |
67 | - | |
68 | - | |
69 | - | |
70 | - | |
71 | - |
Built with git-ssb-web