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 @@ -105,7 +105,7 @@ export class MdTooltip implements OnInit, OnDestroy {
105
105
set _deprecatedMessage ( v : string ) { this . message = v ; }
106
106
107
107
constructor ( private _overlay : Overlay ,
108
- private _scroll : ScrollDispatcher ,
108
+ private _scrollDispatcher : ScrollDispatcher ,
109
109
private _elementRef : ElementRef ,
110
110
private _viewContainerRef : ViewContainerRef ,
111
111
private _ngZone : NgZone ,
@@ -114,7 +114,7 @@ export class MdTooltip implements OnInit, OnDestroy {
114
114
ngOnInit ( ) {
115
115
// When a scroll on the page occurs, update the position in case this tooltip needs
116
116
// to be repositioned.
117
- this . _scroll . scrolled ( ) . subscribe ( ( ) => {
117
+ this . _scrollDispatcher . scrolled ( ) . subscribe ( ( ) => {
118
118
if ( this . _overlayRef ) {
119
119
this . _overlayRef . updatePosition ( ) ;
120
120
}
You can’t perform that action at this time.
0 commit comments