From f944dc440b9b6ae39e74e9c1378338d4fe8f78e6 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 15 Jan 2016 20:29:43 +0000 Subject: [PATCH] Fixed bind error --- static/src/js/components/index/project-images-main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/src/js/components/index/project-images-main.js b/static/src/js/components/index/project-images-main.js index 8a83119..fd60aeb 100644 --- a/static/src/js/components/index/project-images-main.js +++ b/static/src/js/components/index/project-images-main.js @@ -62,12 +62,12 @@ export default class ProjectImagesMain extends React.Component { } render() { - var images = this.keys.map( function (keyColumns) { + var images = this.keys.map(function (keyColumns) { var col = keyColumns.map(function (key) { return this._generate_image(key); - }); + }.bind(this)); return ({col}); - }); + }.bind(this)); return (

Personal Projects