Backed out 4 changesets (bug 1643503) for bc failures on browser_parsable_css.js . CLOSED TREE
Backed out changeset a890be633ec3 (bug 1643503) Backed out changeset 1f8dcaafb864 (bug 1643503) Backed out changeset b28d0c018553 (bug 1643503) Backed out changeset 1bcaedf06fb9 (bug 1643503)
This commit is contained in:
@@ -45,10 +45,6 @@ function updateIndicatorState() {
|
||||
* Main control object for the WebRTC global indicator
|
||||
*/
|
||||
const WebRTCIndicator = {
|
||||
// This is the vertical offset from the bottom of the primary display where the
|
||||
// indicator will first appear.
|
||||
VERTICAL_OFFSET_PX: 80,
|
||||
|
||||
init(event) {
|
||||
addEventListener("load", this);
|
||||
addEventListener("unload", this);
|
||||
@@ -185,10 +181,7 @@ const WebRTCIndicator = {
|
||||
//
|
||||
// To put the window at the bottom of the screen, just above any OS UI,
|
||||
// we subtract the window height from the available height.
|
||||
window.moveTo(
|
||||
(screenWidth - windowWidth) / 2,
|
||||
availHeight - windowHeight - this.VERTICAL_OFFSET_PX
|
||||
);
|
||||
window.moveTo((screenWidth - windowWidth) / 2, availHeight - windowHeight);
|
||||
},
|
||||
|
||||
handleEvent(event) {
|
||||
|
||||
Reference in New Issue
Block a user