Skip to content

Commit

Permalink
fix(connect-example): handle new tab button
Browse files Browse the repository at this point in the history
  • Loading branch information
karliatto committed Sep 27, 2024
1 parent fb888be commit 1a66a23
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,8 @@ document.getElementById('get-features').addEventListener('click', () => {
}
});
});

const newTabButton = document.getElementById('tab');
newTabButton.addEventListener('click', () => {
chrome.tabs.create({ url: 'connect-manager.html' });
});

0 comments on commit 1a66a23

Please sign in to comment.