зеркало из https://github.com/mozilla/gecko-dev.git
Bug 796222 - create the social toolbar panel/iframe with a default width as a workaround for bug 793057. r=jaws
This commit is contained in:
Родитель
3f5dda291e
Коммит
181237526c
|
@ -621,6 +621,9 @@ var SocialToolbar = {
|
|||
notificationFrame.setAttribute("class", "social-panel-frame");
|
||||
notificationFrame.setAttribute("id", notificationFrameId);
|
||||
notificationFrame.setAttribute("mozbrowser", "true");
|
||||
// work around bug 793057 - by making the panel roughly the final size
|
||||
// we are more likely to have the anchor in the correct position.
|
||||
notificationFrame.style.width = PANEL_MIN_WIDTH + "px";
|
||||
notificationFrames.appendChild(notificationFrame);
|
||||
}
|
||||
notificationFrame.setAttribute("origin", provider.origin);
|
||||
|
|
Загрузка…
Ссылка в новой задаче