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