diff --git a/renderer/script.js b/renderer/script.js index f0c40e9..933d4d0 100644 --- a/renderer/script.js +++ b/renderer/script.js @@ -1029,6 +1029,9 @@ function renderTabs() { const icon = document.createElement('img'); icon.src = tab.favicon; icon.className = 'tab-favicon'; + icon.onerror = function() { + this.style.display = 'none'; + }; el.appendChild(icon); }