@@ -61,7 +61,7 @@ export class MdSelectionList implements AfterContentInit, OnDestroy {
61
61
private _tabOutSubscription : Subscription ;
62
62
63
63
/** Subscription to option changes from the selection-list. */
64
- private _optionSubscription : Subscription ;
64
+ private _optionsChangeSubscription : Subscription ;
65
65
66
66
/** Whether or not the option is selectable. */
67
67
protected _selectable : boolean = true ;
@@ -100,7 +100,7 @@ export class MdSelectionList implements AfterContentInit, OnDestroy {
100
100
// Go ahead and subscribe all of the initial options
101
101
this . _subscribeOptions ( this . options ) ;
102
102
// When the list changes, re-subscribe
103
- this . _optionSubscription =
103
+ this . _optionsChangeSubscription =
104
104
this . options . changes . subscribe ( ( options : QueryList < MdListOption > ) => {
105
105
this . _subscribeOptions ( options ) ;
106
106
} ) ;
@@ -111,8 +111,8 @@ export class MdSelectionList implements AfterContentInit, OnDestroy {
111
111
this . _tabOutSubscription . unsubscribe ( ) ;
112
112
}
113
113
114
- if ( this . _optionSubscription ) {
115
- this . _optionSubscription . unsubscribe ( ) ;
114
+ if ( this . _optionsChangeSubscription ) {
115
+ this . _optionsChangeSubscription . unsubscribe ( ) ;
116
116
}
117
117
}
118
118
0 commit comments