MarseyWorld/files/assets/js/following.js

9 lines
145 B
JavaScript
Raw Normal View History

2022-10-10 04:56:39 +00:00
function removeFollowing(t, username) {
2023-08-12 10:49:23 +00:00
postToast(
t,
`/unfollow/${username}`,
{},
() => {t.parentElement.parentElement.remove()}
);
2022-10-10 04:56:39 +00:00
}