Close reply panel
This commit is contained in:
parent
49f1226f3a
commit
055cced75b
2 changed files with 8 additions and 2 deletions
|
@ -79,7 +79,13 @@ let StatusCache = new class {
|
|||
modal.getElementsByClassName("modal-close")[0].click();
|
||||
}
|
||||
|
||||
// Update buttons
|
||||
// Close reply panel
|
||||
let reply = form.closest(".reply-panel");
|
||||
if (!!reply) {
|
||||
document.querySelector("[data-controls=" + reply.id + "]").click();
|
||||
}
|
||||
|
||||
// Update shelve buttons
|
||||
}
|
||||
}();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue