fix: weird question answering bug
This commit is contained in:
parent
9e6c5c9726
commit
4cafea66aa
2 changed files with 4 additions and 4 deletions
|
@ -163,7 +163,7 @@
|
|||
});
|
||||
}
|
||||
|
||||
async function answer_question_from_form(e, answering) {
|
||||
window.answer_question_from_form = async (e, answering) => {
|
||||
e.preventDefault();
|
||||
await trigger("atto::debounce", ["posts::create"]);
|
||||
fetch("/api/v1/posts", {
|
||||
|
@ -188,7 +188,7 @@
|
|||
e.target.parentElement.remove();
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
globalThis.accept_follow_request = async (e, id) => {
|
||||
await trigger("atto::debounce", ["users::follow"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue