debian-mirror-gitlab/app/assets/javascripts/project_fork.js
2018-03-17 18:26:18 +05:30

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();
});
};