Fix schedule, even uglier code
This commit is contained in:
		
							parent
							
								
									a6d0ea52f4
								
							
						
					
					
						commit
						0684fea1ee
					
				
							
								
								
									
										5
									
								
								index.js
								
								
								
								
							
							
						
						
									
										5
									
								
								index.js
								
								
								
								
							| 
						 | 
					@ -58,7 +58,10 @@ function parse_schedule() {
 | 
				
			||||||
                title: fahrplan[i].title,
 | 
					                title: fahrplan[i].title,
 | 
				
			||||||
                sub: fahrplan[i].start + " D" + fahrplan[i].day + " @ "  + fahrplan[i].room + ", " + fahrplan[i].personnames,
 | 
					                sub: fahrplan[i].start + " D" + fahrplan[i].day + " @ "  + fahrplan[i].room + ", " + fahrplan[i].personnames,
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
        } else if (fahrplan_parsed.other.length < n_other) {
 | 
					        } else if (fahrplan_parsed.other.length < n_other
 | 
				
			||||||
 | 
					                   && fahrplan[i].roomguid != channel_here   && fahrplan[i].room != channel_here
 | 
				
			||||||
 | 
					                   && fahrplan[i].roomguid != channel_main_1 && fahrplan[i].room != channel_main_1
 | 
				
			||||||
 | 
					                   && fahrplan[i].roomguid != channel_main_2 && fahrplan[i].room != channel_main_2) {
 | 
				
			||||||
            fahrplan_parsed.other.push({
 | 
					            fahrplan_parsed.other.push({
 | 
				
			||||||
                title: fahrplan[i].title,
 | 
					                title: fahrplan[i].title,
 | 
				
			||||||
                sub: fahrplan[i].start + " D" + fahrplan[i].day + " @ " + fahrplan[i].room,
 | 
					                sub: fahrplan[i].start + " D" + fahrplan[i].day + " @ " + fahrplan[i].room,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue