checkbox-fix?

This commit is contained in:
Manuel Friedli 2013-11-26 12:56:52 +01:00
parent 8ca4777a7c
commit 7fc0793b70

View file

@ -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>