diff --git a/index.html b/index.html index 0313b1c..e30cf91 100644 --- a/index.html +++ b/index.html @@ -75,10 +75,10 @@ uhr.setLayout(layout); if (status == 'on') { uhr.start(); - $('#onoffswitch').prop('checked', 'checked'); + $('#onoffswitch').prop('checked', true); } else { uhr.stop(); - $('#onoffswitch').removeProp('checked'); + $('#onoffswitch').prop('checked', false); } });