Merge pull request #98 from hueyy/fix/acting_on_remote_boosts
Fix: acting on remote boosts should now work
This commit is contained in:
commit
d1c09e501a
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ function onClickFollow(event) {
|
|||
function onClickInteract(event) {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
const articleElement = event.target.closest("article[data-id]");
|
||||
const articleElement = event.target.closest(".status.status-public[data-id]");
|
||||
const getId = () => {
|
||||
const rawId = articleElement.getAttribute("data-id");
|
||||
return rawId.slice(0, 2) === "f-" ? rawId.slice(2) : rawId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue