progress as html
This commit is contained in:
		
							parent
							
								
									aaa5fd362f
								
							
						
					
					
						commit
						0cecf8a458
					
				
					 1 changed files with 10 additions and 12 deletions
				
			
		| 
						 | 
					@ -449,7 +449,6 @@ class WeatherDisplay {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	loadTemplates() {
 | 
						loadTemplates() {
 | 
				
			||||||
		this.templates = {};
 | 
							this.templates = {};
 | 
				
			||||||
		if (this.elemId !== 'progress') {
 | 
					 | 
				
			||||||
		this.elem = document.getElementById(`${this.elemId}-html`);
 | 
							this.elem = document.getElementById(`${this.elemId}-html`);
 | 
				
			||||||
		if (!this.elem) return;
 | 
							if (!this.elem) return;
 | 
				
			||||||
		const templates = this.elem.querySelectorAll('.template');
 | 
							const templates = this.elem.querySelectorAll('.template');
 | 
				
			||||||
| 
						 | 
					@ -461,7 +460,6 @@ class WeatherDisplay {
 | 
				
			||||||
			template.remove();
 | 
								template.remove();
 | 
				
			||||||
		});
 | 
							});
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	fillTemplate(name, fillValues) {
 | 
						fillTemplate(name, fillValues) {
 | 
				
			||||||
		// get the template
 | 
							// get the template
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue