mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1230839 - Fix mixing reference to AppConstants in globalOverlay.js r=MattN
This commit is contained in:
parent
bbe6e859f8
commit
0bb0d4b337
@ -4,6 +4,8 @@
|
||||
|
||||
function closeWindow(aClose, aPromptFunction)
|
||||
{
|
||||
let { AppConstants } = Components.utils.import("resource://gre/modules/AppConstants.jsm");
|
||||
|
||||
// Closing the last window doesn't quit the application on OS X.
|
||||
if (AppConstants.platform != "macosx") {
|
||||
var windowCount = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user