mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-07 16:11:14 +00:00
Temp fix for wrapper issue.
This commit is contained in:
parent
b4cdb22e24
commit
e311f17062
@ -274,11 +274,17 @@ var MM = (function() {
|
|||||||
|
|
||||||
var showWrapper = false;
|
var showWrapper = false;
|
||||||
Array.prototype.forEach.call(moduleWrappers, function(moduleWrapper) {
|
Array.prototype.forEach.call(moduleWrappers, function(moduleWrapper) {
|
||||||
if (moduleWrapper.style.position == "static") {
|
if (moduleWrapper.style.position == "static" || moduleWrapper.style.position == "") {
|
||||||
showWrapper = true;
|
showWrapper = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// if (showWrapper) {
|
||||||
|
// console.log('Hide wrapper: ' + position);
|
||||||
|
// } else {
|
||||||
|
// console.log('Show wrapper: ' + position);
|
||||||
|
// }
|
||||||
|
|
||||||
wrapper.style.display = showWrapper ? "block" : "none";
|
wrapper.style.display = showWrapper ? "block" : "none";
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user