From acb9dc3e612451465aea0f030d2ec77d3b190a8a Mon Sep 17 00:00:00 2001 From: Vanja Benjocki Date: Mon, 10 Dec 2018 12:23:02 +0100 Subject: [PATCH] fix(tooltip): tooltipEnable inconsistent value (#4911) --- src/tooltip/tooltip.directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tooltip/tooltip.directive.ts b/src/tooltip/tooltip.directive.ts index c160f94724..0c491fe9b3 100644 --- a/src/tooltip/tooltip.directive.ts +++ b/src/tooltip/tooltip.directive.ts @@ -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 {