mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1363485 - Update urlbarBindings.xml r=dao
MozReview-Commit-ID: 5PoMe8pNaYx --HG-- extra : rebase_source : f73c9399e605a3cd6cfee50fcfe260f2f18f34b5
This commit is contained in:
parent
04a7b8f7ca
commit
579d663bdf
@ -1877,9 +1877,9 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
// opens because otherwise the items will visibly shift.
|
||||
let nodes = [...document.getElementById("nav-bar-customization-target").childNodes];
|
||||
let urlbarPosition = nodes.findIndex(n => n.id == "urlbar-container");
|
||||
let alignSiteIcons = urlbarPosition <= 2 &&
|
||||
let alignSiteIcons = urlbarPosition <= 5 &&
|
||||
nodes.slice(0, urlbarPosition)
|
||||
.every(n => n.localName == "toolbarbutton");
|
||||
.every(n => n.localName == "toolbarbutton" || n.id == "stop-reload-button");
|
||||
if (alignSiteIcons) {
|
||||
let identityRect =
|
||||
document.getElementById("identity-icon").getBoundingClientRect();
|
||||
|
Loading…
Reference in New Issue
Block a user