[tbb-commits] [tor-browser/tor-browser-91.4.0esr-11.5-1] fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser

gk at torproject.org gk at torproject.org
Tue Dec 21 12:53:05 UTC 2021


commit 944c177453619d9919d24fcf811953cca0410a85
Author: Richard Pospesel <richard at torproject.org>
Date:   Fri Dec 17 17:28:30 2021 +0100

    fixup! Bug 27476: Implement about:torconnect captive portal within Tor Browser
---
 browser/components/torpreferences/content/torPane.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/browser/components/torpreferences/content/torPane.js b/browser/components/torpreferences/content/torPane.js
index 6905cbe473ac..2df71db9327e 100644
--- a/browser/components/torpreferences/content/torPane.js
+++ b/browser/components/torpreferences/content/torPane.js
@@ -577,8 +577,8 @@ const gTorPane = (function() {
 
     uninit() {
       // unregister our observer topics
-      Services.obs.removeObserver(TorSettingsTopics.SettingChanged, this);
-      Services.obs.removeObserver(TorConnectTopics.StateChange, this);
+      Services.obs.removeObserver(this, TorSettingsTopics.SettingChanged);
+      Services.obs.removeObserver(this, TorConnectTopics.StateChange);
     },
 
     // whether the page should be present in about:preferences





More information about the tbb-commits mailing list