debian-mirror-gitlab/app/assets/javascripts/project_fork.js
2018-11-08 19:23:39 +05:30

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