Project

General

Profile

« Previous | Next » 

Revision 58951

[Trunk | Library]: resultLanding.component: Load <citeThis> component, only if button to open modal is clicked (this will load javascript for cite this when needed) - improve performance.

View differences:

resultLanding.component.html
578 578
</modal-alert>
579 579
<modal-alert #citeModal [classTitle]="'landing-modal-header uk-padding-small'"
580 580
             [classBody]="'uk-padding-remove landing-modal'">
581
  <citeThis *ngIf="resultLandingInfo" [result]="resultLandingInfo" [id]="id" [type]="title.toLowerCase()"></citeThis>
581
  <citeThis *ngIf="resultLandingInfo && citeThisClicked" [result]="resultLandingInfo" [id]="id" [type]="title.toLowerCase()"></citeThis>
582 582
</modal-alert>
583 583

  

Also available in: Unified diff