checkbox-fix?
This commit is contained in:
parent
8ca4777a7c
commit
7fc0793b70
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue