mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-05 23:07:31 +09:00
[Pale-Moon] Issue #1737 - Part 2: Clean up base/content p.2
This commit is contained in:
parent
8b3b8034b9
commit
b017678cf0
9 changed files with 662 additions and 442 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
var WebrtcIndicator = {
|
||||
init: function () {
|
||||
let temp = {};
|
||||
let temp = { };
|
||||
Cu.import("resource:///modules/webrtcUI.jsm", temp);
|
||||
this.UIModule = temp.webrtcUI;
|
||||
|
||||
|
|
@ -35,14 +35,16 @@ var WebrtcIndicator = {
|
|||
},
|
||||
|
||||
clearPopup: function (aPopup) {
|
||||
while (aPopup.lastChild)
|
||||
while (aPopup.lastChild) {
|
||||
aPopup.removeChild(aPopup.lastChild);
|
||||
}
|
||||
},
|
||||
|
||||
menuCommand: function (aMenuitem) {
|
||||
let streamData = this._menuitemData.get(aMenuitem);
|
||||
if (!streamData)
|
||||
if (!streamData) {
|
||||
return;
|
||||
}
|
||||
|
||||
let browserWindow = streamData.browser.ownerDocument.defaultView;
|
||||
if (streamData.tab) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue