mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
7 lines
174 B
JavaScript
7 lines
174 B
JavaScript
|
export function initRepoCommitButton() {
|
||
|
$('.commit-button').on('click', function (e) {
|
||
|
e.preventDefault();
|
||
|
$(this).parent().find('.commit-body').toggle();
|
||
|
});
|
||
|
}
|