Skip to content

Commit

Permalink
fix(tooltip): tooltipEnable inconsistent value (#4911)
Browse files Browse the repository at this point in the history
  • Loading branch information
benj0c authored and valorkin committed Dec 10, 2018
1 parent 055220e commit acb9dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tooltip/tooltip.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class TooltipDirective implements OnInit, OnDestroy {
@Input('tooltipEnable')
set _enable(value: boolean) {
warnOnce('tooltipEnable was deprecated, please use `isDisabled` instead');
this.isDisabled = value;
this.isDisabled = !value;
}

get _enable(): boolean {
Expand Down

0 comments on commit acb9dc3

Please sign in to comment.