Browse Source

removed testing purpose code

Gildas 7 năm trước cách đây
mục cha
commit
f202c4ce98
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      lib/single-file/html-images-minifier.js

+ 0 - 1
lib/single-file/html-images-minifier.js

@@ -116,7 +116,6 @@ this.imagesMinifier = this.imagesMinifier || (() => {
 				if (!imageElement.getAttributeNS(SVG_NS, "width") && !imageElement.getAttributeNS(SVG_NS, "height") && imageData.naturalWidth && imageData.naturalHeight) {
 					imageElement.setAttributeNS(SVG_NS, "viewBox", "0 0 " + imageData.naturalWidth + " " + imageData.naturalHeight);
 				}
-				svgElement.style.border = "1px solid red";
 				imgElement.parentElement.replaceChild(svgElement, imgElement);
 			}
 		});