We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1debf49 commit 2bc8048Copy full SHA for 2bc8048
sources/net.sf.j2s.java.core/srcjs/js/j2sApplet.js
@@ -2751,7 +2751,7 @@ if (ev.keyCode == 9 && ev.target["data-focuscomponent"]) {
2751
//cl.$static$ && cl.$static$();
2752
if (clazz.indexOf("_.") == 0)
2753
J2S.setWindowVar(clazz.substring(2), cl);
2754
- applet.__Info.headless = (J2S._headless || isApp && !!cl.j2sHeadless);
+ applet.__Info.headless = (J2S._headless || isApp && (cl.$j2sHeadless || cl.j2sHeadless));
2755
if (applet.__Info.headless) {
2756
Clazz._isHeadless = "true";
2757
System.out.println("j2sApplet running headlessly");
0 commit comments