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:
Giovanny Andres Gongora Granada 2015-01-30 06:43:29 +01:00
Родитель 0cbf253827
Коммит baad738129
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;