Skip to content

Commit 7836833

Browse files
committed
changed to "if (!this.disabled) { ... }"
1 parent 0fdea7b commit 7836833

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
@@ -125,7 +125,7 @@ export class MdListOption implements AfterContentInit, OnDestroy, Focusable {
125125
}
126126

127127
toggle(): void {
128-
if (!this._disabled && !this.selectionList.disabled) {
128+
if (!this._disabled) {
129129
this.selected = !this.selected;
130130
this.selectionList.selectedOptions.toggle(this);
131131
this._changeDetector.markForCheck();

0 commit comments

Comments
 (0)