Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
ad20203e29
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      lib/single-file/doc-helper.js

+ 0 - 3
lib/single-file/doc-helper.js

@@ -190,9 +190,6 @@ this.docHelper = this.docHelper || (() => {
 		if (!hidden && style) {
 			hidden = style.display == "none";
 			if (!hidden && (style.opacity == "0" || style.visibility == "hidden")) {
-				hidden = true;
-			}
-			if (!hidden) {
 				const boundingRect = element.getBoundingClientRect();
 				hidden = !boundingRect.width && !boundingRect.height;
 			}