File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export class MdTooltip implements OnInit, OnDestroy {
108
108
set _deprecatedMessage ( v : string ) { this . message = v ; }
109
109
110
110
constructor ( private _overlay : Overlay ,
111
- private _scroll : ScrollDispatcher ,
111
+ private _scrollDispatcher : ScrollDispatcher ,
112
112
private _elementRef : ElementRef ,
113
113
private _viewContainerRef : ViewContainerRef ,
114
114
private _ngZone : NgZone ,
@@ -117,7 +117,7 @@ export class MdTooltip implements OnInit, OnDestroy {
117
117
ngOnInit ( ) {
118
118
// When a scroll on the page occurs, update the position in case this tooltip needs
119
119
// to be repositioned.
120
- this . _scroll . scrolled ( ) . subscribe ( ( ) => {
120
+ this . _scrollDispatcher . scrolled ( ) . subscribe ( ( ) => {
121
121
if ( this . _overlayRef ) {
122
122
this . _overlayRef . updatePosition ( ) ;
123
123
}
You can’t perform that action at this time.
0 commit comments