From ad85ca6fdd062671047118a7d58776f9a0cf60d7 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期二, 14 十一月 2023 14:38:59 +0800
Subject: [PATCH] 集群切换添加密码

---
 src/components/wasmPlayer/wasm/webgl.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/components/wasmPlayer/wasm/webgl.js b/src/components/wasmPlayer/wasm/webgl.js
index 7d2c0cf..b28af6a 100644
--- a/src/components/wasmPlayer/wasm/webgl.js
+++ b/src/components/wasmPlayer/wasm/webgl.js
@@ -159,7 +159,7 @@
 }
 
 WebGLPlayer.prototype.fullscreen = function() {
-  var canvas = this.canvas
+  let canvas = this.canvas.parentNode.parentNode.parentNode
   if (canvas.RequestFullScreen) {
     canvas.RequestFullScreen()
   } else if (canvas.webkitRequestFullScreen) {

--
Gitblit v1.8.0