lsc 10 meses atrás
pai
commit
ba6ecccf8c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      js/Desktop/DeskTop.js

+ 1 - 1
js/Desktop/DeskTop.js

@@ -6277,6 +6277,7 @@ U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
         } else if (str == 'whiteboard') {
             _iframe = _formdiv.querySelector('iframe')
             let onloadListener = _iframe.onload = () => {
+                alert(_box.offsetWidth)
                 _iframe.contentWindow.document.body.appendChild(script1);
                 _iframe.contentWindow.document.body.appendChild(script2);
                 _iframe.contentWindow.document.body.appendChild(script4);
@@ -6739,7 +6740,6 @@ U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
         } else if (str == 'whiteboard') {
             _iframe = _formdiv.querySelector('iframe')
             let onloadListener = _iframe.onload = () => {
-                alert(_box.offsetWidth)
                 _iframe.contentWindow.document.body.appendChild(script1);
                 _iframe.contentWindow.document.body.appendChild(script2);
                 _iframe.contentWindow.document.body.appendChild(script4);