Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
StoianLucian committed Mar 25, 2024
1 parent b101446 commit 8029321
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion coral-component-shell/src/scripts/ShellMenuBarItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,8 @@ class ShellMenuBarItem extends BaseComponent(HTMLElement) {
}

commons.nextFrame(() => {
let shellMenuButtonIcon = this._elements.shellMenuButton.getElementsByTagName('coral-icon')[0];
let shellMenuButton = this._elements.shellMenuButton;
let shellMenuButtonIcon = shellMenuButton.getElementsByTagName('coral-icon')[0];

if(shellMenuButtonIcon !== null) {
shellMenuButtonIcon.setAttribute('alt', this.title);
Expand Down

0 comments on commit 8029321

Please sign in to comment.