webpack
This commit is contained in:
parent
8e6fd04b3a
commit
49cd15a688
16 changed files with 1406 additions and 478 deletions
|
|
@ -16,10 +16,11 @@ class Progress extends WeatherDisplay {
|
|||
// disable any navigation timing
|
||||
this.timing = false;
|
||||
|
||||
this.version = document.getElementById('version').innerHTML;
|
||||
|
||||
// setup event listener
|
||||
this.elem.querySelector('.container').addEventListener('click', this.lineClick.bind(this));
|
||||
// setup event listener for dom-required initialization
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
this.version = document.getElementById('version').innerHTML;
|
||||
this.elem.querySelector('.container').addEventListener('click', this.lineClick.bind(this));
|
||||
});
|
||||
|
||||
this.okToDrawCurrentConditions = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue