diff options
author | 2023-11-02 15:11:24 +0800 | |
---|---|---|
committer | 2023-11-02 15:11:24 +0800 | |
commit | 321ed3bbe6720785d23ff49b2cd5fe5a2839be99 (patch) | |
tree | 94ec048764c5adb2fbce5065cff7dbedef7d8511 | |
parent | 199b54b33a864017b9276558f3ffd43292986ce6 (diff) | |
download | refined-github-321ed3bbe6720785d23ff49b2cd5fe5a2839be99.tar.gz refined-github-321ed3bbe6720785d23ff49b2cd5fe5a2839be99.tar.zst refined-github-321ed3bbe6720785d23ff49b2cd5fe5a2839be99.zip |
`close-as-planned` - Fix "close with comment" bug (#7025)
-rw-r--r-- | source/features/close-as-unplanned.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/features/close-as-unplanned.tsx b/source/features/close-as-unplanned.tsx index 3bd99dda..3be5ab00 100644 --- a/source/features/close-as-unplanned.tsx +++ b/source/features/close-as-unplanned.tsx @@ -27,6 +27,8 @@ function update(dropdown: HTMLElement): void { unplannedButton.append(icon); unplannedButton.id = id; unplannedButton.classList.add('btn', 'tooltipped', 'tooltipped-nw', 'mr-0'); + // Prevent content from being changed #7024 + unplannedButton.classList.remove('js-comment-and-button'); unplannedButton.setAttribute('aria-label', 'Close as not planned.\nWon’t fix, can’t repro, duplicate, stale'); dropdown.replaceWith(unplannedButton); |