code cleanup
This commit is contained in:
parent
2a9e5b370e
commit
888b35ea73
|
@ -55,8 +55,8 @@ class ExtendedForecast extends WeatherDisplay {
|
|||
const fill = {
|
||||
icon: { type: 'img', src: Day.icon },
|
||||
condition: Day.text,
|
||||
date: Day.dayName,
|
||||
};
|
||||
fill.date = Day.dayName;
|
||||
|
||||
const { low } = Day;
|
||||
if (low !== undefined) {
|
||||
|
|
|
@ -8,7 +8,6 @@ import { DateTime } from '../vendor/auto/luxon.mjs';
|
|||
|
||||
class HourlyGraph extends WeatherDisplay {
|
||||
constructor(navId, elemId, defaultActive) {
|
||||
// special height and width for scrolling
|
||||
super(navId, elemId, 'Hourly Graph', defaultActive);
|
||||
|
||||
// move the top right data into the correct location on load
|
||||
|
|
Loading…
Reference in a new issue