mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
commit
6fadc76fe3
@ -27,7 +27,8 @@ _This release is scheduled to be released on 2021-04-01._
|
|||||||
- Converted newsfeed module to use templates.
|
- Converted newsfeed module to use templates.
|
||||||
- Update documentation and help screen about invalid config files.
|
- Update documentation and help screen about invalid config files.
|
||||||
- Moving weather provider specific code and configuration into each provider and making hourly part of the interface.
|
- Moving weather provider specific code and configuration into each provider and making hourly part of the interface.
|
||||||
- Bump electron to v11
|
- Bump electron to v11.
|
||||||
|
- Dont update the DOM when a module is not displayed.
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
|
@ -547,6 +547,11 @@ var MM = (function () {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!module.data.position) {
|
||||||
|
Log.warn("module tries to update the DOM without being displayed.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Further implementation is done in the private method.
|
// Further implementation is done in the private method.
|
||||||
updateDom(module, speed);
|
updateDom(module, speed);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user