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); | 			uhr.setLayout(layout); | ||||||
| 			if (status == 'on') { | 			if (status == 'on') { | ||||||
| 				uhr.start(); | 				uhr.start(); | ||||||
| 				$('#onoffswitch').prop('checked', 'checked'); | 				$('#onoffswitch').prop('checked', true); | ||||||
| 			} else { | 			} else { | ||||||
| 				uhr.stop(); | 				uhr.stop(); | ||||||
| 				$('#onoffswitch').removeProp('checked'); | 				$('#onoffswitch').prop('checked', false); | ||||||
| 			} | 			} | ||||||
| 		}); | 		}); | ||||||
| 	</script> | 	</script> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue