mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-22 19:49:31 -07:00
progress as html
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user