Skip to content

Commit c2f4252

Browse files
committed
chore: rename to scrollSubscription
1 parent 4e3d1e6 commit c2f4252

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/lib/select/select.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export class MdSelect implements AfterContentInit, OnDestroy, OnInit, ControlVal
135135
private _tabSubscription: Subscription;
136136

137137
/** Subscription to global scrolled events while the select is open. */
138-
private _scrolledSubscription: Subscription;
138+
private _scrollSubscription: Subscription;
139139

140140
/** Whether filling out the select is required in the form. */
141141
private _required: boolean = false;
@@ -381,7 +381,7 @@ export class MdSelect implements AfterContentInit, OnDestroy, OnInit, ControlVal
381381
this._calculateOverlayPosition();
382382
this._placeholderState = this._floatPlaceholderState();
383383
this._panelOpen = true;
384-
this._scrolledSubscription = this._scrollDispatcher.scrolled(0, () => {
384+
this._scrollSubscription = this._scrollDispatcher.scrolled(0, () => {
385385
this.overlayDir.overlayRef.updatePosition();
386386
});
387387
}
@@ -395,9 +395,9 @@ export class MdSelect implements AfterContentInit, OnDestroy, OnInit, ControlVal
395395
this._placeholderState = '';
396396
}
397397

398-
if (this._scrolledSubscription) {
399-
this._scrolledSubscription.unsubscribe();
400-
this._scrolledSubscription = null;
398+
if (this._scrollSubscription) {
399+
this._scrollSubscription.unsubscribe();
400+
this._scrollSubscription = null;
401401
}
402402

403403
this._focusHost();

0 commit comments

Comments
 (0)