MarseyWorld/files/assets/js/following.js

5 lines
122 B
JavaScript

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