Revision 47261
Added by Argiro Kokogiannaki almost 7 years ago
citeThis.component.ts | ||
---|---|---|
69 | 69 |
} |
70 | 70 |
if( this.result.authors){ |
71 | 71 |
citationData.author = []; |
72 |
for (var i =0 ;i < this.result.authors.length; i++){ |
|
72 |
var max_length = (this.result.authors.length > 10)?10:this.result.authors.length; |
|
73 |
for (var i =0 ;i < max_length; i++){ |
|
73 | 74 |
if(this.result.authors[i].name && this.result.authors[i].name.indexOf(", ") !== -1){ |
74 | 75 |
citationData.author.push({given:this.result.authors[i].name.split(", ")[0], family:this.result.authors[i].name.split(", ")[1], 'parse-names':true}); |
75 | 76 |
}else{ |
Also available in: Unified diff
mobile menu | fix footer position | more layout and css changes | delete uikit 2 files | new logo