richard pushed to branch tor-browser-115.10.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
- 
a5b9b03b
by Henry Wilkes at 2024-04-15T17:15:04+00:00
2 changed files:
- browser/components/torpreferences/content/requestBridgeDialog.js
- browser/components/torpreferences/content/requestBridgeDialog.xhtml
Changes:
| ... | ... | @@ -71,6 +71,9 @@ const gRequestBridgeDialog = { | 
| 71 | 71 |        selectors.refreshCaptchaButton
 | 
| 72 | 72 |      );
 | 
| 73 | 73 |      this._captchaRefreshButton.disabled = true;
 | 
| 74 | +    this._captchaRefreshButton.addEventListener("command", () => {
 | |
| 75 | +      this.onRefreshCaptcha();
 | |
| 76 | +    });
 | |
| 74 | 77 | |
| 75 | 78 |      this._incorrectCaptchaHbox = this._dialog.querySelector(
 | 
| 76 | 79 |        selectors.incorrectCaptchaHbox
 | 
| ... | ... | @@ -31,7 +31,6 @@ | 
| 31 | 31 |        <button
 | 
| 32 | 32 |          id="torPreferences-requestBridge-refreshCaptchaButton"
 | 
| 33 | 33 |          image="chrome://global/skin/icons/reload.svg"
 | 
| 34 | -        oncommand="requestBridgeDialog.onRefreshCaptcha();"
 | |
| 35 | 34 |        />
 | 
| 36 | 35 |      </hbox>
 | 
| 37 | 36 |      <hbox id="torPreferences-requestBridge-incorrectCaptchaHbox" align="center">
 |