mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user