Commit 0980d98c authored by brizental's avatar brizental
Browse files

fixup! Customize moz-toggle for tor-browser.

Fix linter issues -- left out unused variables.
parent 5168b198
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -51,12 +51,6 @@ export default class MozToggle extends MozBaseInputElement {

  inputTemplate() {
    const { pressed, disabled, ariaLabel, handleClick } = this;
    // For tor-browser, if we have a title we use it as the aria-description.
    // Used for tor-browser#41333.
    // Only set the description using the title if it differs from the
    // accessible name derived from the label.
    const label = ariaLabel || this.label;
    const ariaDescription = label === this.title ? undefined : this.title;
    return html`<button
      id="input"
      part="button"