Skip to content

Commit ee853b9

Browse files
authored
fix(tab): use MD_RIPPLE_GLOBAL_OPTIONS in tab (#3553)
* use MD_RIIPLE_GLOBAL_OPTIONS in tab * .
1 parent a4e2de7 commit ee853b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/tabs/tab-nav-bar/tab-nav-bar.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
import {MdInkBar} from '../ink-bar';
1010
import {MdRipple} from '../../core/ripple/index';
1111
import {ViewportRuler} from '../../core/overlay/position/viewport-ruler';
12-
import {MD_DISABLE_RIPPLES} from '../../core/ripple/ripple';
12+
import {MD_RIPPLE_GLOBAL_OPTIONS, RippleGlobalOptions} from '../../core/ripple/ripple';
1313

1414
/**
1515
* Navigation component matching the styles of the tab group header.
@@ -83,7 +83,7 @@ export class MdTabLink {
8383
})
8484
export class MdTabLinkRipple extends MdRipple {
8585
constructor(elementRef: ElementRef, ngZone: NgZone, ruler: ViewportRuler,
86-
@Optional() @Inject(MD_DISABLE_RIPPLES) forceDisableRipples: boolean) {
87-
super(elementRef, ngZone, ruler, forceDisableRipples);
86+
@Optional() @Inject(MD_RIPPLE_GLOBAL_OPTIONS) globalOptions: RippleGlobalOptions) {
87+
super(elementRef, ngZone, ruler, globalOptions);
8888
}
8989
}

0 commit comments

Comments
 (0)