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

10 lines
225 B
JavaScript
Raw Normal View History

2018-05-09 12:01:36 +05:30
import $ from 'jquery';
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();
});
};