mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-21 09:12:27 +00:00
chore: Update Zen browser components submodule commit reference
This commit is contained in:
@@ -66,6 +66,7 @@ Please adhere to this project's `code of conduct`.
|
||||
|
||||
## Special Thanks
|
||||
|
||||
- [IAmJafeth](https://github.com/IAmJafeth) (For sponsoring the domain)
|
||||
- [Erlend](https://havn.blog) (For making the logo)
|
||||
- [ptr1337](https://github.com/ptr1337) (AUR Packages and optimization flags)
|
||||
|
||||
|
@@ -22,14 +22,13 @@ var gZenViewSplitter = {
|
||||
|
||||
initializeUpdateContextMenuItems() {
|
||||
const contentAreaContextMenu = document.getElementById("tabContextMenu");
|
||||
const tabCountInfo = JSON.stringify({
|
||||
tabCount:
|
||||
(window.gContextMenu?.contextTab.multiselected &&
|
||||
window.gBrowser.multiSelectedTabsCount) ||
|
||||
1,
|
||||
});
|
||||
|
||||
contentAreaContextMenu.addEventListener("popupshowing", () => {
|
||||
const tabCountInfo = JSON.stringify({
|
||||
tabCount: window.gBrowser.selectedTabs.length,
|
||||
});
|
||||
console.log(tabCountInfo);
|
||||
console.log(window.gContextMenu);
|
||||
document
|
||||
.getElementById("context_zenSplitTabs")
|
||||
.setAttribute("data-l10n-args", tabCountInfo);
|
||||
|
Reference in New Issue
Block a user