rDrama/files/assets/js/following.js

5 lines
128 B
JavaScript

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