Browse Source

Removed unused code

Rune 1 year ago
parent
commit
eba1bc6b34
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      MMM-ping2.js

+ 0
- 2
MMM-ping2.js View File

@@ -18,7 +18,6 @@ Module.register('MMM-ping2', {
18 18
 
19 19
     start() {
20 20
         Log.info(`Starting module: ${this.name}`);
21
-        this.status = {};
22 21
         this.checkHosts();
23 22
         setInterval(() => {
24 23
             this.checkHosts();
@@ -31,7 +30,6 @@ Module.register('MMM-ping2', {
31 30
 
32 31
     getDom() {  
33 32
         const wrapper = document.createElement('div');
34
-        wrapper.classList.add(this.config.font);
35 33
         wrapper.style.textAlign = 'left';
36 34
         const hosts = this.config.hosts;
37 35
         let domainLength = this.config.hosts.length;

Loading…
Cancel
Save