gitlab-org--gitlab-foss/app/assets/javascripts/project_fork.js
Phil Hughes 075f5ed9fc
Cleanup the fork layout
- Cleans the fork project layout by removing the grid & reverting back
to full flexbox to allow for the layout to correctly expand.
- Removes duplicated markup
- Fixes a bug where the forked project would trigger the load indicator
2017-10-02 14:36:20 +01:00

7 lines
200 B
JavaScript

export default () => {
$('.js-fork-thumbnail').on('click', function forkThumbnailClicked() {
if ($(this).hasClass('disabled')) return false;
return $('.js-fork-content').toggle();
});
};