falsches element zum toggeln gewählt
This commit is contained in:
		
							parent
							
								
									5223ceb1f6
								
							
						
					
					
						commit
						4f796107bc
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		
							
								
								
									
										5
									
								
								uhr.js
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								uhr.js
									
										
									
									
									
								
							|  | @ -171,11 +171,12 @@ Uhr.prototype.initToggleSwitch = function() { | |||
| 	var status = $.cookie('status' + this.id); | ||||
| 	if (status == 'on') { | ||||
| 		this.start(); | ||||
| 		toggleSwitch.prop('checked', true); | ||||
| 		input.prop('checked', true); | ||||
| 	} else { | ||||
| 		this.stop(); | ||||
| 		toggleSwitch.prop('checked', false); | ||||
| 		input.prop('checked', false); | ||||
| 	} | ||||
| 
 | ||||
| 	return toggleSwitch; | ||||
| } | ||||
| Uhr.prototype.initLayoutSwitch = function() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue