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

10 lines
238 B
JavaScript
Raw Normal View History

import $ from 'jquery';
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').toggleClass('hidden');
});
};