Browse Source

Merge pull request #9178 from BabylonJS/msDestiny14/nme

Removing log for exception
David Catuhe 4 năm trước cách đây
mục cha
commit
d58b21c41d
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      inspector/src/inspector.ts

+ 2 - 1
inspector/src/inspector.ts

@@ -53,6 +53,7 @@ export class Inspector {
     private static _CopyStyles(sourceDoc: HTMLDocument, targetDoc: HTMLDocument) {
         for (var index = 0; index < sourceDoc.styleSheets.length; index++) {
             var styleSheet: any = sourceDoc.styleSheets[index];
+            
             try {
                 if (styleSheet.cssRules) {
                     // for <style> elements
@@ -73,7 +74,7 @@ export class Inspector {
                     targetDoc.head!.appendChild(newLinkEl);
                 }
             } catch (e) {
-                console.log(e);
+                
             }
         }
     }