From 55da257ddff04f39ec0f9bb43c6d373464b02c3d Mon Sep 17 00:00:00 2001 From: Sebastian Hengst Date: Mon, 14 Nov 2016 16:25:04 +0100 Subject: [PATCH] Backed out changeset d67c6dcba478 (bug 430745) on request from jaws. r=backout MozReview-Commit-ID: DGzLTDimdZZ --- toolkit/modules/SelectParentHelper.jsm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/toolkit/modules/SelectParentHelper.jsm b/toolkit/modules/SelectParentHelper.jsm index 47df0ba8fea0..2d37cdd5ee43 100644 --- a/toolkit/modules/SelectParentHelper.jsm +++ b/toolkit/modules/SelectParentHelper.jsm @@ -8,9 +8,6 @@ this.EXPORTED_SYMBOLS = [ "SelectParentHelper" ]; -const {utils: Cu} = Components; -const { AppConstants } = Cu.import("resource://gre/modules/AppConstants.jsm"); - // Maximum number of rows to display in the select dropdown. const MAX_ROWS = 20; @@ -60,7 +57,7 @@ this.SelectParentHelper = { constraintRect.top + win.mozInnerScreenY, constraintRect.width, constraintRect.height); menupopup.setConstraintRect(constraintRect); - menupopup.openPopupAtScreenRect(AppConstants.platform == "macosx" ? "selection" : "after_start", rect.left, rect.top, rect.width, rect.height, false, false); + menupopup.openPopupAtScreenRect("after_start", rect.left, rect.top, rect.width, rect.height, false, false); }, hide: function(menulist, browser) {