Made JS more efficient, and less errors
This commit is contained in:
parent
36f78d14bc
commit
ca2c7b0501
1 changed files with 4 additions and 2 deletions
|
@ -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(<ProjectImagesMain />, document.getElementById('project-images-main'));
|
||||
}
|
||||
|
|
Reference in a new issue