Bug 1230839 - Fix mixing reference to AppConstants in globalOverlay.js r=MattN

This commit is contained in:
Dave Townsend 2015-12-07 16:21:45 -08:00
parent bbe6e859f8
commit 0bb0d4b337

View File

@ -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;