Showing
2 changed files
with
2 additions
and
2 deletions
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | [ngStyle]="{'background-color': settings.tooltipColor, 'opacity': settings.tooltipOpacity, 'color': settings.tooltipFontColor}"> |
33 | 33 | <div *ngFor="let mainTooltip of mainTooltips" |
34 | 34 | [innerHTML]="mainTooltip" |
35 | - ngStyle="{'padding': '10px 0'}"> | |
35 | + style="padding: 10px 0"> | |
36 | 36 | </div> |
37 | 37 | </div> |
38 | 38 | </div> | ... | ... |
... | ... | @@ -234,8 +234,8 @@ export class TripAnimationComponent implements OnInit, AfterViewInit, OnDestroy |
234 | 234 | if(isMainTooltip) { |
235 | 235 | this.mainTooltips.push(this.sanitizer.sanitize(SecurityContext.HTML, tooltipText)); |
236 | 236 | } |
237 | - this.cd.detectChanges(); | |
238 | 237 | } |
238 | + this.cd.detectChanges(); | |
239 | 239 | return tooltipText; |
240 | 240 | } |
241 | 241 | ... | ... |