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 {
105105 set _deprecatedMessage ( v : string ) { this . message = v ; }
106106
107107 constructor ( private _overlay : Overlay ,
108- private _scroll : ScrollDispatcher ,
108+ private _scrollDispatcher : ScrollDispatcher ,
109109 private _elementRef : ElementRef ,
110110 private _viewContainerRef : ViewContainerRef ,
111111 private _ngZone : NgZone ,
@@ -114,7 +114,7 @@ export class MdTooltip implements OnInit, OnDestroy {
114114 ngOnInit ( ) {
115115 // When a scroll on the page occurs, update the position in case this tooltip needs
116116 // to be repositioned.
117- this . _scroll . scrolled ( ) . subscribe ( ( ) => {
117+ this . _scrollDispatcher . scrolled ( ) . subscribe ( ( ) => {
118118 if ( this . _overlayRef ) {
119119 this . _overlayRef . updatePosition ( ) ;
120120 }
You can’t perform that action at this time.
0 commit comments