remove "f-" from IDs (usually on pinned posts)

This commit is contained in:
ItsVipra 2023-07-18 12:24:30 +02:00
parent f37c767fbc
commit 50c89f80fe
No known key found for this signature in database

View file

@ -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-", "");
}
/**