Skip to content

Commit

Permalink
remove meningless error message
Browse files Browse the repository at this point in the history
remove error message occuring when using Maestro and/or Item Track modules.
  • Loading branch information
Miah Nelah committed Oct 9, 2022
1 parent a6bb700 commit b10347b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/src/cleaner-sheet-title-bar.js
Expand Up @@ -4,7 +4,7 @@ function removeTextFromButton(element) {

// Maestro compatibility hack
if (element.className === "hype-track" || element.className === "item-track") {
element.getElementsByTagName("span")[0].remove()
element.getElementsByTagName("span")[0]?.remove()
return;
}

Expand Down

0 comments on commit b10347b

Please sign in to comment.