break: enhance server message structure and settings
- add explicit server messages for start and end
- include pomodoro setttings in server messages
- update README
🤖
This commit is contained in:
parent
b60df1c025
commit
a0dba673a2
5 changed files with 35 additions and 28 deletions
|
@ -65,7 +65,7 @@
|
|||
var data = JSON.parse(event.data);
|
||||
var mode = data.mode;
|
||||
var session = data.session;
|
||||
var totalSession = data.total_sessions;
|
||||
var totalSession = data.settings.sessions;
|
||||
var timeLeft = data.time_left;
|
||||
|
||||
document.getElementById("timer").innerText =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue