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'); } }