Update custom.html

master
Ronin0000 2021-11-21 21:00:21 -08:00 committed by GitHub
parent f950fd2ee8
commit adfeb5e535
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
<body> <body>
<div> <div>
<p>Create your events on the week shown. Keep in note that your events repeat weekly.</p> <p>Create your events on the week shown. Keep in note that your events repeat weekly.</p>
<p>One you have created your events, Click <button id="upload" class="btn btn-primary">Upload</button> or try in <button id="emulator" class="btn btn-primary">Emulator</button></p <p>One you have created your events, Click <button id="upload" class="btn btn-primary">Upload</button>. or try in <button id="emulator" class="btn btn-primary">Emulator</button></p
<p>All day events are not supported. A feature that lets you get the calendar from your watch will be added in a future update.</p> <p>All day events are not supported. A feature that lets you get the calendar from your watch will be added in a future update.</p>
</div> </div>
@ -444,7 +444,7 @@ draw();
}); });
}); });
document.getElementById("upload").addEventListener("click", function () { document.getElementById("emulator").addEventListener("click", function () {
//Cacultate data: //Cacultate data:
var calendarEvents = calendar.getEvents(); var calendarEvents = calendar.getEvents();
let schedule = [] let schedule = []