mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-01 14:56:30 +00:00
Remove attached flag after callback function has finished
This commit is contained in:
parent
25f947d94c
commit
2f1a5ceab8
@ -31,6 +31,7 @@ function initRepoDiffReviewButton() {
|
|||||||
counter.setAttribute('data-pending-comment-number', num);
|
counter.setAttribute('data-pending-comment-number', num);
|
||||||
counter.textContent = num;
|
counter.textContent = num;
|
||||||
animateOnce(reviewBox, 'pulse-1p5-200');
|
animateOnce(reviewBox, 'pulse-1p5-200');
|
||||||
|
form.removeAttribute('data-handler-attached');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user