Skip to content

Commit

Permalink
DOn't show duplicated tab preview panel for internal pages
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Nov 29, 2024
1 parent e347707 commit d3f50bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webextensions/sidebar/tab-preview-tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,8 @@ browser.runtime.onMessage.addListener((message, sender) => {
return;

// in-sidebar preview
if (sender.envType == 'addon_child') {
if (sender.envType == 'addon_child' &&
!sender.frameId) {
return;
}

Expand Down

0 comments on commit d3f50bf

Please sign in to comment.