mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
removed adding of shown class
This commit is contained in:
parent
4ce42d4f70
commit
b3dd531abb
@ -245,7 +245,6 @@ const MM = (function () {
|
|||||||
if (moduleWrapper !== null) {
|
if (moduleWrapper !== null) {
|
||||||
moduleWrapper.style.transition = "opacity " + speed / 1000 + "s";
|
moduleWrapper.style.transition = "opacity " + speed / 1000 + "s";
|
||||||
moduleWrapper.style.opacity = 0;
|
moduleWrapper.style.opacity = 0;
|
||||||
moduleWrapper.className = moduleWrapper.className.split(" shown").join("");
|
|
||||||
moduleWrapper.className += " hidden";
|
moduleWrapper.className += " hidden";
|
||||||
|
|
||||||
clearTimeout(module.showHideTimer);
|
clearTimeout(module.showHideTimer);
|
||||||
@ -313,7 +312,6 @@ const MM = (function () {
|
|||||||
// Restore the position. See hideModule() for more info.
|
// Restore the position. See hideModule() for more info.
|
||||||
moduleWrapper.style.position = "static";
|
moduleWrapper.style.position = "static";
|
||||||
moduleWrapper.className = moduleWrapper.className.split(" hidden").join("");
|
moduleWrapper.className = moduleWrapper.className.split(" hidden").join("");
|
||||||
moduleWrapper.className += " shown";
|
|
||||||
|
|
||||||
updateWrapperStates();
|
updateWrapperStates();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user