From 9cbbe88f53678c0b18940db5d0df8c2daa114300 Mon Sep 17 00:00:00 2001 From: Julian Graham Date: Sat, 20 Nov 2021 20:17:40 -0500 Subject: [PATCH] Fix typo in socketNotificationReceived: self -> this (#61) Co-authored-by: Julian Graham --- MMM-nyc-transit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MMM-nyc-transit.js b/MMM-nyc-transit.js index cd50ca8..1effc4f 100644 --- a/MMM-nyc-transit.js +++ b/MMM-nyc-transit.js @@ -329,7 +329,7 @@ Module.register('MMM-nyc-transit', { /*eslint-disable-line*/ console.log('socketNotificationReceived: "TRAIN_TABLE": ', this.result) this.result = payload - this.updateDom(self.config.fadeSpeed) + this.updateDom(this.config.fadeSpeed) } else if (notification === 'DOM_OBJECTS_CREATED') { // eslint-disable-next-line no-console console.log('Dom Objects Created')