Update src/content_script/mastodonInject.js
Co-authored-by: rugk <rugk+git@posteo.de>
This commit is contained in:
parent
211042401e
commit
46468116f6
1 changed files with 1 additions and 0 deletions
|
@ -131,6 +131,7 @@ async function init() {
|
|||
|
||||
const ogType = document.querySelector("meta[property='og:type']");
|
||||
|
||||
// inject only once on detail toots view pages
|
||||
if (ogType && ogType.getAttribute("content") === "article"){
|
||||
injectInteractionButtons();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue