MarseyWorld/files/assets/js/followers.js

5 lines
219 B
JavaScript
Raw Normal View History

2022-07-16 21:00:02 +00:00
function removeFollower(event, username) {
2022-09-04 23:15:37 +00:00
post_toast(event.target,'/remove_follow/' + username);
2022-07-16 21:00:02 +00:00
let table = document.getElementById("followers-table");
table.removeChild(event.target.parentElement.parentElement);
}