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 {
9595 }
9696
9797 constructor ( private _overlay : Overlay ,
98- private _scroll : ScrollDispatcher ,
98+ private _scrollDispatcher : ScrollDispatcher ,
9999 private _elementRef : ElementRef ,
100100 private _viewContainerRef : ViewContainerRef ,
101101 private _ngZone : NgZone ,
@@ -104,7 +104,7 @@ export class MdTooltip implements OnInit, OnDestroy {
104104 ngOnInit ( ) {
105105 // When a scroll on the page occurs, update the position in case this tooltip needs
106106 // to be repositioned.
107- this . _scroll . scrolled ( ) . subscribe ( ( ) => {
107+ this . _scrollDispatcher . scrolled ( ) . subscribe ( ( ) => {
108108 if ( this . _overlayRef ) {
109109 this . _overlayRef . updatePosition ( ) ;
110110 }
You can’t perform that action at this time.
0 commit comments