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