Pier Angelo Vendrame pushed to branch tor-browser-102.12.0esr-12.5-1 at The Tor Project / Applications / Tor Browser
Commits:
-
5e35ef8d
by Henry Wilkes at 2023-06-12T16:04:27+01:00
2 changed files:
- browser/components/torconnect/content/torConnectTitlebarStatus.js
- browser/components/torconnect/content/torConnectUrlbarButton.js
Changes:
... | ... | @@ -56,7 +56,7 @@ var gTorConnectTitlebarStatus = { |
56 | 56 | /**
|
57 | 57 | * De-initialize the component.
|
58 | 58 | */
|
59 | - deinit() {
|
|
59 | + uninit() {
|
|
60 | 60 | Services.obs.removeObserver(this._stateListener, this._observeTopic);
|
61 | 61 | },
|
62 | 62 |
... | ... | @@ -89,7 +89,7 @@ var gTorConnectUrlbarButton = { |
89 | 89 | /**
|
90 | 90 | * Deactivate and de-initialize the button.
|
91 | 91 | */
|
92 | - deinit() {
|
|
92 | + uninit() {
|
|
93 | 93 | if (!this._isActive) {
|
94 | 94 | return;
|
95 | 95 | }
|
... | ... | @@ -115,7 +115,7 @@ var gTorConnectUrlbarButton = { |
115 | 115 | TorConnect.state === TorConnectState.Bootstrapped ||
|
116 | 116 | TorConnect.state === TorConnectState.Disabled
|
117 | 117 | ) {
|
118 | - this.deinit();
|
|
118 | + this.uninit();
|
|
119 | 119 | return;
|
120 | 120 | }
|
121 | 121 | this._updateButtonVisibility();
|