Skip to content

Commit 58ff54f

Browse files
committed
minor check
1 parent eaee376 commit 58ff54f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

services/static-webserver/client/source/class/osparc/desktop/WorkbenchView.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ qx.Class.define("osparc.desktop.WorkbenchView", {
6161
},
6262

6363
__handleIframeStateChange: function(node, iframeLayout) {
64-
iframeLayout.removeAll();
64+
if (iframeLayout.removeAll) {
65+
iframeLayout.removeAll();
66+
}
6567
if (node && node.getIFrame()) {
6668
const iFrame = node.getIFrame();
6769
const src = iFrame.getSource();

0 commit comments

Comments
 (0)