gitlab-org--gitlab-foss/app/assets/javascripts/project_fork.js
2018-04-12 14:13:50 -05:00

9 lines
238 B
JavaScript

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