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 fixup! Bug 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
Bug 42496: Fix the refresh captcha button's command.
- - - - -
2 changed files:
- browser/components/torpreferences/content/requestBridgeDialog.js - browser/components/torpreferences/content/requestBridgeDialog.xhtml
Changes:
===================================== browser/components/torpreferences/content/requestBridgeDialog.js ===================================== @@ -71,6 +71,9 @@ const gRequestBridgeDialog = { selectors.refreshCaptchaButton ); this._captchaRefreshButton.disabled = true; + this._captchaRefreshButton.addEventListener("command", () => { + this.onRefreshCaptcha(); + });
this._incorrectCaptchaHbox = this._dialog.querySelector( selectors.incorrectCaptchaHbox
===================================== browser/components/torpreferences/content/requestBridgeDialog.xhtml ===================================== @@ -31,7 +31,6 @@ <button id="torPreferences-requestBridge-refreshCaptchaButton" image="chrome://global/skin/icons/reload.svg" - oncommand="requestBridgeDialog.onRefreshCaptcha();" /> </hbox> <hbox id="torPreferences-requestBridge-incorrectCaptchaHbox" align="center">
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/a5b9b03b...
tor-commits@lists.torproject.org