forked from rDrama/rDrama
20 lines
270 B
JavaScript
20 lines
270 B
JavaScript
|
function approve_membership(t, url) {
|
||
|
postToast(t, url,
|
||
|
{
|
||
|
},
|
||
|
() => {
|
||
|
t.parentElement.innerHTML = formatDate(new Date());
|
||
|
}
|
||
|
);
|
||
|
}
|
||
|
|
||
|
function reject_membership(t, url) {
|
||
|
postToast(t, url,
|
||
|
{
|
||
|
},
|
||
|
() => {
|
||
|
t.parentElement.parentElement.remove();
|
||
|
}
|
||
|
);
|
||
|
}
|