зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1126781 - browser-search-autocomplete-result-popup's popupshowing handler shouldn't clobber the popup's style attribute. r=dao
This commit is contained in:
Родитель
0cbf253827
Коммит
baad738129
|
@ -1173,7 +1173,7 @@
|
|||
// Ensure the panel is wide enough to fit at least 3 engines.
|
||||
minWidth = Math.max(minWidth, ENGINE_WIDTH * 3);
|
||||
}
|
||||
panel.setAttribute("style", "min-width: " + minWidth + "px");
|
||||
panel.style.minWidth = minWidth + "px";
|
||||
|
||||
if (!engines.length)
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче