From 7fc0793b700ac9034752934f679bdb3527f70dfd Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Tue, 26 Nov 2013 12:56:52 +0100 Subject: [PATCH] checkbox-fix? --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } });