fix: remove missed 'd' variable initialization
parent
4d0d9e1e0c
commit
17464943fd
|
|
@ -82,6 +82,7 @@ class TimeCalClock{
|
||||||
// });
|
// });
|
||||||
// require("weather").get = undefined;
|
// require("weather").get = undefined;
|
||||||
|
|
||||||
|
const d = this.date ? this.date : new Date();
|
||||||
this.hasWeather = this.settings().showWeather && require('weather') && require('weather').get();
|
this.hasWeather = this.settings().showWeather && require('weather') && require('weather').get();
|
||||||
const prevCenterX = this.dtCenterX;
|
const prevCenterX = this.dtCenterX;
|
||||||
if(this.hasWeather){
|
if(this.hasWeather){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue