2023-03-18 14:53:00 +00:00
|
|
|
function remove_emoji(t, name) {
|
2023-03-18 13:34:04 +00:00
|
|
|
postToast(t, `/admin/approve/emoji/${name}`,
|
2022-12-29 14:20:27 +00:00
|
|
|
{
|
|
|
|
"tags": document.getElementById(`${name}-tags`).value,
|
|
|
|
"name": document.getElementById(`${name}-name`).value,
|
2023-03-18 13:34:04 +00:00
|
|
|
"kind": document.getElementById(`${name}-kind`).value,
|
2022-12-29 14:20:27 +00:00
|
|
|
},
|
|
|
|
() => {
|
|
|
|
document.getElementById(`${name}-marsey`).remove()
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2023-03-18 14:53:00 +00:00
|
|
|
function remove_emoji(t, name) {
|
2023-03-18 13:34:04 +00:00
|
|
|
postToast(t, `/remove/emoji/${name}`,
|
2022-12-29 14:20:27 +00:00
|
|
|
{
|
|
|
|
},
|
|
|
|
() => {
|
|
|
|
document.getElementById(`${name}-marsey`).remove()
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|