Skip to content

Commit

Permalink
Uplift of #26673 (squashed) to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
brave-builds committed Dec 10, 2024
1 parent 37f9603 commit 4a66ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/webui/resources/br_elements/br_toolbar/br_toolbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export class CrToolbarElement extends CrLitElement {
initSlotFilledDetection() {
// Style the 'extra items' slot only if it contains
// content.
const toolbarExtraElement = this.querySelector('.toolbar-extra')
const toolbarExtraElement = this.shadowRoot!.querySelector('.toolbar-extra')
if (!toolbarExtraElement) {
console.error('Could not find "toolbar-extra" element')
return
Expand Down

0 comments on commit 4a66ff9

Please sign in to comment.