mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 606343, part 3, use centered arrow panel for bookmarks and identity panel, r=dao, a=blocking
This commit is contained in:
parent
d6aad66496
commit
a94c8d8386
@ -347,7 +347,8 @@ var PlacesCommandHook = {
|
||||
if (starIcon && isElementVisible(starIcon)) {
|
||||
// Make sure the bookmark properties dialog hangs toward the middle of
|
||||
// the location bar in RTL builds
|
||||
var position = (getComputedStyle(gNavToolbox, "").direction == "rtl") ? 'after_start' : 'after_end';
|
||||
var position = (getComputedStyle(gNavToolbox, "").direction == "rtl") ?
|
||||
'bottomcenter topleft' : 'bottomcenter topright';
|
||||
if (aShowEditUI)
|
||||
StarUI.showEditBookmarkPopup(itemId, starIcon, position);
|
||||
return;
|
||||
|
@ -7267,7 +7267,7 @@ var gIdentityHandler = {
|
||||
|
||||
// Make sure the identity popup hangs toward the middle of the location bar
|
||||
// in RTL builds
|
||||
var position = (getComputedStyle(gNavToolbox, "").direction == "rtl") ? 'after_end' : 'after_start';
|
||||
var position = (getComputedStyle(gNavToolbox, "").direction == "rtl") ? 'bottomcenter topright' : 'bottomcenter topleft';
|
||||
|
||||
// Add the "open" attribute to the identity box for styling
|
||||
this._identityBox.setAttribute("open", "true");
|
||||
|
Loading…
Reference in New Issue
Block a user