diff --git a/index.html b/index.html
index 83ff437..cc39440 100644
--- a/index.html
+++ b/index.html
@@ -23,9 +23,7 @@
Remaining meeting time: {{ timeText(totalRemainingTime) }}
-
- End estimated at: {{ timeText(estimatedEnd) }}
-
+ End estimated at: {{ timeText(estimatedEnd) }}
Total meeting time: {{ timeText(totalTime) }}
line.trim())
@@ -201,29 +210,27 @@ let app = {
this.timerEnd = new Date(
new Date().getTime() + this.selectedData.time * 60 * 1000
);
- this.beepTimer = setTimeout(
- () => {
- this.beep();
- }, this.selectedData.time * 60 * 1000
- );
+ this.beepTimer = setTimeout(() => {
+ this.beep();
+ }, this.selectedData.time * 60 * 1000);
} else {
document.title = "Meeting Roulette";
}
},
setCookie(cname, cvalue, exdays) {
const d = new Date();
- d.setTime(d.getTime() + (exdays*24*60*60*1000));
- let expires = "expires="+ d.toUTCString();
+ d.setTime(d.getTime() + exdays * 24 * 60 * 60 * 1000);
+ let expires = "expires=" + d.toUTCString();
console.log(cname + "=" + cvalue + "; path=/; " + expires);
document.cookie = cname + "=" + cvalue + "; path=/; " + expires;
},
getCookie(cname, defaultValue) {
let name = cname + "=";
let decodedCookie = decodeURIComponent(document.cookie);
- let ca = decodedCookie.split(';');
- for(let i = 0; i {