Selaa lähdekoodia

Merge pull request #9178 from BabylonJS/msDestiny14/nme

Removing log for exception
David Catuhe 4 vuotta sitten
vanhempi
commit
d58b21c41d
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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);
+                
             }
         }
     }