Lazy loading thumbnails

This commit is contained in:
James Barnsley
2017-08-10 08:02:10 +12:00
parent 160a9ad700
commit fcf44d0b28
4 changed files with 22 additions and 19 deletions

View File

@ -40,6 +40,7 @@ class AlbumGrid extends React.Component{
type="album"
item={album}
onClick={e => {hashHistory.push(global.baseURL+'album/'+album.uri)}}
onLoad={() => this.handleLoad(album.uri)}
onContextMenu={e => this.handleContextMenu(e,album)}
/>
)}