fix(tooltip): Uncomment JQuery tooltip codes (#420)

This commit is contained in:
Róbert Kiss
2017-09-17 15:26:11 +02:00
committed by László Monda
parent 73ce1dfa67
commit 8f85254b5c

View File

@@ -30,24 +30,24 @@ export class TooltipDirective implements AfterContentInit, OnChanges {
} }
private init() { private init() {
// jQuery(this.elementRef.nativeElement).tooltip({ (<any>jQuery(this.elementRef.nativeElement)).tooltip({
// placement: this.placement, placement: this.placement,
// html: this.html, html: this.html,
// template: this.customTooltipTemplate, template: this.customTooltipTemplate,
// title: this.title title: this.title
// }); });
} }
private fixTitle() { private fixTitle() {
// jQuery(this.elementRef.nativeElement).tooltip({ (<any>jQuery(this.elementRef.nativeElement)).tooltip({
// placement: this.placement, placement: this.placement,
// html: this.html, html: this.html,
// template: this.customTooltipTemplate, template: this.customTooltipTemplate,
// title: this.title title: this.title
// }); });
// jQuery(this.elementRef.nativeElement) (<any>jQuery(this.elementRef.nativeElement)
// .attr('title', this.title) .attr('title', this.title))
// .tooltip('fixTitle'); .tooltip('fixTitle');
} }
} }