summaryrefslogtreecommitdiff
path: root/modules/FormValidationHandler.jsm
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FormValidationHandler.jsm')
-rw-r--r--modules/FormValidationHandler.jsm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/FormValidationHandler.jsm b/modules/FormValidationHandler.jsm
index e7e7b14..b88c282 100644
--- a/modules/FormValidationHandler.jsm
+++ b/modules/FormValidationHandler.jsm
@@ -124,7 +124,7 @@ var FormValidationHandler =
let tabBrowser = aWindow.gBrowser;
this._anchor = tabBrowser.popupAnchor;
this._anchor.left = aPanelData.contentRect.left;
- this._anchor.top = aPanelData.contentRect.top;
+ this._anchor.top = Math.max(0, aPanelData.contentRect.top);
this._anchor.width = aPanelData.contentRect.width;
this._anchor.height = aPanelData.contentRect.height;
this._anchor.hidden = false;