Skip to content

Commit 868ea59

Browse files
committed
check for ui.outernode
1 parent fe8f56a commit 868ea59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/net.sf.j2s.java.core/srcjs/js/j2sApplet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3133,7 +3133,7 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
31333133
if (!node.ui.jc.modal && modalZ < 1e10 && z > modalZ) {
31343134
z = modalZ - 500;
31353135
}
3136-
node.ui.outerNode.style.zIndex = z;
3136+
node.ui.outerNode && (node.ui.outerNode.style.zIndex = z);
31373137
return z;
31383138
}
31393139

0 commit comments

Comments
 (0)