mirror of
https://gitlab.com/idotj/mastodon-embed-timeline.git
synced 2025-05-24 08:52:46 +00:00
Fix id selector
This commit is contained in:
parent
db6c46ca1e
commit
83882b5f79
@ -106,7 +106,7 @@ MastodonApi.prototype.getToots = function () {
|
||||
}
|
||||
|
||||
// Add target="_blank" to all hashtags
|
||||
let allHashtags = document.querySelectorAll("#mt-timeline .hashtag");
|
||||
let allHashtags = document.querySelectorAll("#mt-body .hashtag");
|
||||
for (let j = 0; j < allHashtags.length; j++) {
|
||||
allHashtags[j].target = "_blank";
|
||||
allHashtags[j].rel = "tag nofollow noopener noreferrer";
|
||||
|
Loading…
x
Reference in New Issue
Block a user