mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-07 08:00:57 +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;
|
||||
Array.prototype.forEach.call(moduleWrappers, function(moduleWrapper) {
|
||||
if (moduleWrapper.style.position == "static") {
|
||||
if (moduleWrapper.style.position == "static" || moduleWrapper.style.position == "") {
|
||||
showWrapper = true;
|
||||
}
|
||||
});
|
||||
|
||||
// if (showWrapper) {
|
||||
// console.log('Hide wrapper: ' + position);
|
||||
// } else {
|
||||
// console.log('Show wrapper: ' + position);
|
||||
// }
|
||||
|
||||
wrapper.style.display = showWrapper ? "block" : "none";
|
||||
});
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user