Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #258 from Rostlab/home-images-fix
Browse files Browse the repository at this point in the history
Fix images not loading on the homepage
  • Loading branch information
mammuth committed Apr 3, 2016
2 parents 41c7a29 + aa16e37 commit dacdce8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/common/AntagonistsComp/AntagonistsComp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export default class AntagonistsComp extends Component {
let randompair = Math.floor(Math.random() * json.length);
let name1 = json[randompair][0];
let name2 = json[randompair][1];
let img1 = '/assets/static/images/'+json[randompair][0].replace(/ /g,'_')+'.jpg';
let img2 = '/assets/static/images/'+json[randompair][1].replace(/ /g,'_')+'.jpg';
let img1 = '/static/images/'+json[randompair][0].replace(/ /g,'_')+'.jpg';
let img2 = '/static/images/'+json[randompair][1].replace(/ /g,'_')+'.jpg';
return (
<div>
<Grid>
Expand Down

0 comments on commit dacdce8

Please sign in to comment.