mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-28 01:57:30 +09:00
[Pale-Moon] make sure anchor.top is not smaller than zero
This commit is contained in:
parent
fdb10cb2f3
commit
7852cec48a
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ var FormValidationHandler =
|
||||||
let tabBrowser = aWindow.gBrowser;
|
let tabBrowser = aWindow.gBrowser;
|
||||||
this._anchor = tabBrowser.popupAnchor;
|
this._anchor = tabBrowser.popupAnchor;
|
||||||
this._anchor.left = aPanelData.contentRect.left;
|
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.width = aPanelData.contentRect.width;
|
||||||
this._anchor.height = aPanelData.contentRect.height;
|
this._anchor.height = aPanelData.contentRect.height;
|
||||||
this._anchor.hidden = false;
|
this._anchor.hidden = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue