1
Fork 0

Made JS more efficient, and less errors

This commit is contained in:
Jake Howard 2015-11-29 21:36:18 +00:00
parent 36f78d14bc
commit ca2c7b0501

View file

@ -19,5 +19,7 @@ $(function() { // https://css-tricks.com/snippets/jquery/smooth-scrolling/
}); });
}); });
if ($('body').hasClass('index')) {
React.render(<ProjectImagesTypes />, document.getElementById('project-images-types')); React.render(<ProjectImagesTypes />, document.getElementById('project-images-types'));
React.render(<ProjectImagesMain />, document.getElementById('project-images-main')); React.render(<ProjectImagesMain />, document.getElementById('project-images-main'));
}