MarseyWorld/files/assets/js/following.js

5 lines
215 B
JavaScript
Raw Normal View History

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