Skip to content

Commit

Permalink
Clear error when favicon is loaded immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jul 15, 2023
1 parent 2f8724a commit 78efcf0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webextensions/sidebar/components/TabElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ windowId = ${tab.windowId}

if (!url || url.startsWith('data:')) { // we don't need to use the helper for data: URI.
this.favicon.src = url;
this.favicon.classList.remove('error');
return url;
}

Expand Down

0 comments on commit 78efcf0

Please sign in to comment.