mirror of
https://github.com/Steffo99/tidebringer-firefox.git
synced 2025-01-05 05:29:46 +00:00
Only display the extension line if buttons are placed
This commit is contained in:
parent
1f67db9258
commit
4bc0537e80
1 changed files with 2 additions and 2 deletions
|
@ -41,10 +41,10 @@ async function addAllSubscribedToCollection() {
|
|||
}
|
||||
|
||||
function tidebringer() {
|
||||
console.log("%c Tidebringer %chttps://github.com/Steffo99/tidebringer-firefox", "background-color: black; color: #a0f3f6;");
|
||||
|
||||
const whereTheContainerShouldBePlaced = document.querySelector(".collectionAddItemsSection");
|
||||
if(!whereTheContainerShouldBePlaced) return
|
||||
|
||||
console.log("%c Tidebringer %chttps://github.com/Steffo99/tidebringer-firefox", "background-color: black; color: #a0f3f6;");
|
||||
|
||||
const container = document.createElement("div")
|
||||
container.id = "tidebringer-container"
|
||||
|
|
Loading…
Reference in a new issue