add: check associated when voting on polls

This commit is contained in:
trisua 2025-06-06 15:57:31 -04:00
parent f4630d4464
commit a9845fbd67
2 changed files with 15 additions and 1 deletions

View file

@ -129,7 +129,9 @@
res.message,
]);
window.location.href = `/post/${id}`;
if (res.ok) {
window.location.href = `/post/${id}`;
}
});
});