Temp fix for wrapper issue.

This commit is contained in:
Michael Teeuw 2016-11-12 11:19:58 +01:00
parent b4cdb22e24
commit e311f17062

View File

@ -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";
}); });
}; };