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 @@ -95,7 +95,7 @@ export class MdTooltip implements OnInit, OnDestroy {
95
95
}
96
96
97
97
constructor ( private _overlay : Overlay ,
98
- private _scroll : ScrollDispatcher ,
98
+ private _scrollDispatcher : ScrollDispatcher ,
99
99
private _elementRef : ElementRef ,
100
100
private _viewContainerRef : ViewContainerRef ,
101
101
private _ngZone : NgZone ,
@@ -104,7 +104,7 @@ export class MdTooltip implements OnInit, OnDestroy {
104
104
ngOnInit ( ) {
105
105
// When a scroll on the page occurs, update the position in case this tooltip needs
106
106
// to be repositioned.
107
- this . _scroll . scrolled ( ) . subscribe ( ( ) => {
107
+ this . _scrollDispatcher . scrolled ( ) . subscribe ( ( ) => {
108
108
if ( this . _overlayRef ) {
109
109
this . _overlayRef . updatePosition ( ) ;
110
110
}
You can’t perform that action at this time.
0 commit comments