Skip to content

Commit

Permalink
Corrected defect where data.classes was modified.
Browse files Browse the repository at this point in the history
  • Loading branch information
nigel-daniels committed Aug 17, 2018
1 parent ba95e58 commit a7d574b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions MMM-FAA-Delay.js
Expand Up @@ -16,10 +16,6 @@ Module.register('MMM-FAA-Delay', {
start: function() {
Log.log('Starting module: ' + this.name);

if (this.data.classes === 'MMM-FAA-Delay') {
this.data.classes = 'bright medium';
}

// Set up the local values, here we construct the request url to use
this.loaded = false;
this.urls = [];
Expand Down Expand Up @@ -55,7 +51,7 @@ Module.register('MMM-FAA-Delay', {
// If we have some data to display then build the results table
if (this.loaded) {
wrapper = document.createElement("table");
wrapper.className = "airport small";
wrapper.className = "airport bright small";

for (i in this.results)
{
Expand Down

0 comments on commit a7d574b

Please sign in to comment.