From 8f85254b5c3388cc7798ddc19a9c9e02e97b75e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Kiss?= Date: Sun, 17 Sep 2017 15:26:11 +0200 Subject: [PATCH] fix(tooltip): Uncomment JQuery tooltip codes (#420) --- .../directives/tooltip/tooltip.directive.ts | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/uhk-web/src/app/directives/tooltip/tooltip.directive.ts b/packages/uhk-web/src/app/directives/tooltip/tooltip.directive.ts index e3383d2a..f707c837 100644 --- a/packages/uhk-web/src/app/directives/tooltip/tooltip.directive.ts +++ b/packages/uhk-web/src/app/directives/tooltip/tooltip.directive.ts @@ -30,24 +30,24 @@ export class TooltipDirective implements AfterContentInit, OnChanges { } private init() { - // jQuery(this.elementRef.nativeElement).tooltip({ - // placement: this.placement, - // html: this.html, - // template: this.customTooltipTemplate, - // title: this.title - // }); + (jQuery(this.elementRef.nativeElement)).tooltip({ + placement: this.placement, + html: this.html, + template: this.customTooltipTemplate, + title: this.title + }); } private fixTitle() { - // jQuery(this.elementRef.nativeElement).tooltip({ - // placement: this.placement, - // html: this.html, - // template: this.customTooltipTemplate, - // title: this.title - // }); + (jQuery(this.elementRef.nativeElement)).tooltip({ + placement: this.placement, + html: this.html, + template: this.customTooltipTemplate, + title: this.title + }); - // jQuery(this.elementRef.nativeElement) - // .attr('title', this.title) - // .tooltip('fixTitle'); + (jQuery(this.elementRef.nativeElement) + .attr('title', this.title)) + .tooltip('fixTitle'); } }