gitlab-org--gitlab-foss/app/assets/javascripts/project_fork.js
2018-03-09 15:18:09 -06:00

9 lines
225 B
JavaScript

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