MarseyWorld/files/assets/js/following.js

5 lines
123 B
JavaScript

function removeFollowing(t, username) {
post_toast(t,'/unfollow/' + username);
t.parentElement.parentElement.remove();
}