Enhance ticket reply button

- Better logic on when the button should default to private/public
- Fix the new plane icon not showing when the button was checked/unchecked
This commit is contained in:
Marcus Hill
2024-02-12 18:10:37 +00:00
parent ddb8061404
commit 25d242dc86
2 changed files with 25 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ let respond = document.getElementById('ticket_add_reply');
checkbox.addEventListener('change', e => {
if (e.target.checked) {
// Public reply
respond.innerHTML = "<i class=\"fas fa-check mr-2\"></i>Respond";
respond.innerHTML = "<i class=\"fas fa-paper-plane mr-2\"></i>Respond";
} else {
// Internal note