Skip to content

Commit

Permalink
(core/wiki) Show twitter icon for url with x.com
Browse files Browse the repository at this point in the history
  • Loading branch information
malkoG committed Oct 2, 2023
1 parent 1a124c6 commit 2cea29c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_layouts/wiki.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ window.addEventListener("load", function(event) {
}
// twitter
if (element.href.includes("twitter.com")) {
if (element.href.includes("twitter.com") || element.href.includes("x.com")) {
element.prepend(twitterIcon.cloneNode(true))
}
Expand Down

0 comments on commit 2cea29c

Please sign in to comment.