Fix a bunch of ESLint and HTMLLint errors

This commit is contained in:
Peter deHaan 2017-06-20 12:18:14 -07:00
parent 99d7196799
commit 74c41897ad
11 changed files with 669 additions and 806 deletions

View file

@ -21,7 +21,7 @@ function strToIv(str) {
}
function notify(str) {
if (!("Notification" in window)) {
if (!('Notification' in window)) {
return;
} else if (Notification.permission === 'granted') {
new Notification(str)