debian-mirror-gitlab/app/assets/javascripts/project_fork.js
2018-05-09 12:01:36 +05:30

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