Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
update as per actions required from pr #5316
Browse files Browse the repository at this point in the history
  • Loading branch information
candysonya committed Dec 13, 2019
1 parent 92bf2ca commit 35f81b6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/mdc-checkbox/foundation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,8 @@ export class MDCCheckboxFoundation extends MDCFoundation<MDCCheckboxAdapter> {
* Handles the click event for the checkbox
*/
handleClick() {
/**
* added for IE browser to fix compatibility issue
* buganizer issue: b/144588184
* github issue: https://github.com/material-components/material-components-web/issues/4893
*/
// added for IE browser to fix compatibility issue:
// https://github.com/material-components/material-components-web/issues/4893
const {TRANSITION_STATE_INDETERMINATE} = strings;
if (this.currentCheckState_ === TRANSITION_STATE_INDETERMINATE) {
this.adapter_.setChecked(!this.realCheckState_);
Expand Down

0 comments on commit 35f81b6

Please sign in to comment.