this.handleClick(e)} onContextMenu={e => this.handleContextMenu(e)}>
{item.name ? item.name : {item.uri}}
diff --git a/src/js/components/Thumbnail.js b/src/js/components/Thumbnail.js
index 027a9950..cfea0ef2 100755
--- a/src/js/components/Thumbnail.js
+++ b/src/js/components/Thumbnail.js
@@ -65,15 +65,21 @@ class Thumbnail extends React.Component{
}
render(){
- var image = this.mapImageSizes()
- var class_name = 'thumbnail '
- if (this.props.size ) class_name += ' '+this.props.size
- if (this.props.circle ) class_name += ' circle'
- if (this.props.className ) class_name += ' '+this.props.className
+ var image = this.mapImageSizes();
+ var class_name = 'thumbnail ';
+ if (this.props.size){
+ class_name += ' '+this.props.size;
+ }
+ if (this.props.circle){
+ class_name += ' circle';
+ }
+ if (this.props.className){
+ class_name += ' '+this.props.className;
+ }
- var zoom_icon = null
+ var zoom_icon = null;
if (this.props.canZoom){
- zoom_icon = this.zoom(e,image)}>
+ zoom_icon = this.zoom(e,image)}>;
}
return (