mirror of
https://github.com/ItsVipra/ProToots
synced 2024-11-24 20:43:03 +00:00
remove "f-" from IDs (usually on pinned posts)
This commit is contained in:
parent
f37c767fbc
commit
50c89f80fe
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ async function addProplate(element) {
|
|||
//if we couldn't get an id from the div try the closest article
|
||||
id = element.closest("article[data-id]")?.dataset.id;
|
||||
}
|
||||
return id;
|
||||
return id.replace("f-", "");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue