return false;
}
// DEBUG Hint: can test embedded menus by inserting true here.
- if (Platform.isAMac())
+ if (Platform.isAMacAndNotJS())
{
// Build the embedded menu panel, allowing override with system font
embeddedMenu = makeEmbeddedPopupMenu(topMenuBar, true, false);