Skip to content

Commit

Permalink
fix: remove useless if guard
Browse files Browse the repository at this point in the history
  • Loading branch information
so1ve committed Jul 25, 2023
1 parent ba7d4e0 commit 087082d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions script.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@

if (location.pathname === "/home") {
waitForElement(NAVBAR_LOGO_SELECTOR).then((div) => {
if (div.children.length !== 2) {
return;
}
div.children[1].innerHTML = TWITTER_LOGO;
div.children[1].classList.add("__FUCK_MUSK_BLUE__");
GM_addStyle(makeTwitterNavbarLogoStyle(true));
Expand Down

0 comments on commit 087082d

Please sign in to comment.