debian-mirror-gitlab/app/assets/javascripts/project_fork.js

8 lines
200 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
export default () => {
$('.js-fork-thumbnail').on('click', function forkThumbnailClicked() {
if ($(this).hasClass('disabled')) return false;
2016-09-13 17:45:13 +05:30
2018-03-17 18:26:18 +05:30
return $('.js-fork-content').toggle();
});
};