Skip to content

Commit

Permalink
fix(tab): use MD_RIPPLE_GLOBAL_OPTIONS in tab (#3553)
Browse files Browse the repository at this point in the history
* use MD_RIIPLE_GLOBAL_OPTIONS in tab

* .
  • Loading branch information
tinayuangao authored Mar 10, 2017
1 parent a4e2de7 commit ee853b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/tabs/tab-nav-bar/tab-nav-bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import {MdInkBar} from '../ink-bar';
import {MdRipple} from '../../core/ripple/index';
import {ViewportRuler} from '../../core/overlay/position/viewport-ruler';
import {MD_DISABLE_RIPPLES} from '../../core/ripple/ripple';
import {MD_RIPPLE_GLOBAL_OPTIONS, RippleGlobalOptions} from '../../core/ripple/ripple';

/**
* Navigation component matching the styles of the tab group header.
Expand Down Expand Up @@ -83,7 +83,7 @@ export class MdTabLink {
})
export class MdTabLinkRipple extends MdRipple {
constructor(elementRef: ElementRef, ngZone: NgZone, ruler: ViewportRuler,
@Optional() @Inject(MD_DISABLE_RIPPLES) forceDisableRipples: boolean) {
super(elementRef, ngZone, ruler, forceDisableRipples);
@Optional() @Inject(MD_RIPPLE_GLOBAL_OPTIONS) globalOptions: RippleGlobalOptions) {
super(elementRef, ngZone, ruler, globalOptions);
}
}

0 comments on commit ee853b9

Please sign in to comment.