Skip to content

Commit a254c26

Browse files
GiteaBotwxiaoguang
andauthored
Fix issue due date edit toggle bug (#23723) (#23758)
Backport #23723 by @wxiaoguang Use `toggleElem` instead of jQuery's `fadeToggle`, which can't be caught by eslint jquery plugin. Hopefully this could be the last bug for the jQuery show/hide refactoring. Need to backport. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 parent 1fed0e1 commit a254c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/repo-issue.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function updateDeadline(deadlineString) {
7878

7979
export function initRepoIssueDue() {
8080
$(document).on('click', '.issue-due-edit', () => {
81-
$('#deadlineForm').fadeToggle(150);
81+
toggleElem('#deadlineForm');
8282
});
8383
$(document).on('click', '.issue-due-remove', () => {
8484
updateDeadline('');

0 commit comments

Comments
 (0)