Remove attached flag after callback function has finished

This commit is contained in:
Henry Goodman 2024-08-02 22:19:21 +10:00
parent 25f947d94c
commit 2f1a5ceab8
No known key found for this signature in database
GPG Key ID: 72E678A2D98E1D54

View File

@ -31,6 +31,7 @@ function initRepoDiffReviewButton() {
counter.setAttribute('data-pending-comment-number', num);
counter.textContent = num;
animateOnce(reviewBox, 'pulse-1p5-200');
form.removeAttribute('data-handler-attached');
});
}