8000 Small housekeeping :) (#107) · mlchiang/quickstart-js@2aad64e · GitHub
[go: up one dir, main page]

Skip to content

Commit 2aad64e

Browse files
odinonicolasgarnier
authored andcommitted
Small housekeeping :) (firebase#107)
1 parent dcc9797 commit 2aad64e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

messaging/index.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,7 @@ <h4>Needs Permission</h4>
186186
}
187187

188188
function setTokenSentToServer(sent) {
189-
if (sent) {
190-
window.localStorage.setItem('sentToServer', 1);
191-
} else {
192-
window.localStorage.setItem('sentToServer', 0);
193-
}
189+
window.localStorage.setItem('sentToServer', sent ? 1 : 0);
194190
}
195191

196192
function showHideDiv(divId, show) {

0 commit comments

Comments
 (0)
0