Skip to content

Commit

Permalink
Fixed a small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
GuiMar10 authored Aug 25, 2024
2 parents 92c33a0 + f263ee6 commit eb4c867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/sidebar/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ function loadFavorites() {
openedFavorites.push(tabCreated);
openedFavoritesIds.push(tabCreated.id);
} else {
list.querySelector('.active')?.classList.remove('active');
tabList.querySelector('.active')?.classList.remove('active');
browser.tabs.update(parseInt(element.id), { active: true, highlighted: false });
}
document.querySelectorAll('[aria-label="favopen"]')?.forEach((elemento) => {
Expand Down

0 comments on commit eb4c867

Please sign in to comment.