author | Paolo Amadini <paolo.mozmail@amadzone.org> |
Fri, 21 Dec 2018 14:36:34 +0000 | |
changeset 451659 | f711b70e09eeca944f980937988bea94c66dcdb0 |
parent 451658 | bac5e091e27dfdafaa6635ee2990db8f0f5cb7ee |
child 451660 | c43184f50b7ac431b0c8244af2d712a2a9492971 |
push id | 110707 |
push user | paolo.mozmail@amadzone.org |
push date | Fri, 21 Dec 2018 15:17:41 +0000 |
treeherder | mozilla-inbound@f711b70e09ee [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | dao |
bugs | 1515939 |
milestone | 66.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
browser/components/search/content/search-one-offs.js | file | annotate | diff | comparison | revisions |
--- a/browser/components/search/content/search-one-offs.js +++ b/browser/components/search/content/search-one-offs.js @@ -553,18 +553,18 @@ class SearchOneOffs { let engines = gBrowser.selectedBrowser.engines; let tooManyEngines = engines.length > this._addEngineMenuThreshold; if (tooManyEngines) { // Make the top-level menu button. let button = document.createXULElement("toolbarbutton"); list.appendChild(button); - button.classList.add("addengine-item", "badged-button"); - button.setAttribute("class", "addengine-menu-button"); + button.classList.add("addengine-menu-button", "addengine-item", + "badged-button"); button.setAttribute("type", "menu"); button.setAttribute("label", this.bundle.GetStringFromName("cmd_addFoundEngineMenu")); button.setAttribute("crop", "end"); button.setAttribute("pack", "start"); // Set the menu button's image to the image of the first engine. The // offered engines may have differing images, so there's no perfect