xzw 4 年之前
父节点
当前提交
93a56f4222
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      web/public/static/js/main_2020_show.js

+ 3 - 3
web/public/static/js/main_2020_show.js

@@ -22387,7 +22387,7 @@ window.Modernizr = function(n, e, t) {
                 
                 setTimeout(()=>{
                     this.qualityManager.updateMaximums()
-                    window.stats && (stats.dom.parentElement.removeChild(stats.dom), window.stats = null)
+                    window.stats && (stats.dom.parentElement && stats.dom.parentElement.removeChild(stats.dom), window.stats = null)
                 },6000)
                 
                 var t = e.mode
@@ -24562,8 +24562,8 @@ window.Modernizr = function(n, e, t) {
             u.profiling.enabled && this.overrideTextures(),
             e.appendChild(this.renderer.domElement)
             
-             window.stats = new Stats();  
-            e.appendChild( stats.dom );
+            window.stats = new Stats();  
+            //e.appendChild( stats.dom );
         }
         ,
         n.prototype.overrideTextures = function() {