mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 17:55:31 +02:00
Some components used by @zen-browser as an attempt to make firefox forks a better place
(Archived and Privated on Nov 4 2024 - neccesarry for older Zen builds)
This commit addresses a bug where the `TabClose` event was not being handled correctly by the `ZenPinnedTabManager`. This resulted in incorrect behavior when closing tabs, particularly in the context of multiple windows. The following changes were made: - The `TabClose` event is now handled explicitly within the `_onTabEvent` method. - The `_removePinnedAttributes` method is called to remove any pinned attributes associated with the closed tab. - The `_onCloseTabShortcut` method is updated to use `e.target?.closest("tab")` to ensure it targets the correct tab element. This fix ensures that pinned tab attributes are properly removed when a tab is closed, preventing unexpected behavior and data inconsistencies. |
||
---|---|---|
src | ||
.gitattributes | ||
.gitignore | ||
COPYRIGHT | ||
LICENSE | ||
README.md | ||
zen-alpha-tangerine.svg |
Components
Some components used by @zen-browser as an attempt to make firefox forks a better place
License
Zen Core Components © 2024 by Zen's Team is licensed under CC BY-SA 4.0