Skip to content

Commit

Permalink
Merge pull request #44 from garywill/css-selector
Browse files Browse the repository at this point in the history
  • Loading branch information
aminomancer committed May 23, 2022
2 parents e989745 + 86e2a92 commit 83852f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JS/allTabsMenuExpansionPack.uc.js
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@
}

let busy = tab.getAttribute("busy");
setAttributes(row.firstElementChild, {
setAttributes(row.querySelector(".all-tabs-button"), {
busy,
label: tab.label,
image: !busy && tab.getAttribute("image"),
Expand All @@ -579,7 +579,7 @@

this._setImageAttributes(row, tab);

let secondaryButton = row.querySelector(".all-tabs-secondary-button");
let secondaryButton = row.querySelector(".all-tabs-secondary-button[toggle-mute]");
setAttributes(secondaryButton, {
muted: tab.muted,
soundplaying: tab.soundPlaying,
Expand Down

0 comments on commit 83852f8

Please sign in to comment.