Skip to content

Commit 458ee31

Browse files
committed
Use this.disabled to consider the case when parent selectionList is disabled?
1 parent e5916e4 commit 458ee31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/list/list-option.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export class MdListOption implements AfterContentInit, OnDestroy, Focusable {
142142
}
143143

144144
_handleClick() {
145-
if (!this._disabled) {
145+
if (!this.disabled) {
146146
this.toggle();
147147
}
148148
}

0 commit comments

Comments
 (0)