gitlab-org--gitlab-foss/app/assets/javascripts/project_fork.js

8 lines
200 B
JavaScript
Raw Normal View History

export default () => {
$('.js-fork-thumbnail').on('click', function forkThumbnailClicked() {
if ($(this).hasClass('disabled')) return false;
2016-07-24 16:45:11 -04:00
return $('.js-fork-content').toggle();
});
};