diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-09 01:41:15 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-09 01:41:15 +0200 |
| commit | a1f6d20b2c9c54ecdf8cd3d8d07def0343f592f8 (patch) | |
| tree | 133053709ff07e7d8d246776bc55b2a81476fe99 /app/client/common | |
| parent | 59b3b29e176b8b91aa52e4125364dbef89110ae4 (diff) | |
deploy bundle
Diffstat (limited to 'app/client/common')
| -rw-r--r-- | app/client/common/fileList.component.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/client/common/fileList.component.js b/app/client/common/fileList.component.js index 7e23044..0dd22ea 100644 --- a/app/client/common/fileList.component.js +++ b/app/client/common/fileList.component.js @@ -88,7 +88,7 @@ export const FileRow = props => { {file.persisted === false ? <span className='unpersisted'>{name}</span> : (linkFiles && file.url) - ? <a target='_blank' onClick={(e) => onClick && onClick(file, e)} href={file.url}>{name}</a> + ? <a target='_blank' onClick={(e) => { e.preventDefault(); onClick && onClick(file, e) }} href={file.url}>{name}</a> : <span class='link' onClick={(e) => onClick && onClick(file, e)}>{name}</span> } </div> |
