mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-25 20:07:20 +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
|
## Special Thanks
|
||||||
|
|
||||||
|
- [IAmJafeth](https://github.com/IAmJafeth) (For sponsoring the domain)
|
||||||
- [Erlend](https://havn.blog) (For making the logo)
|
- [Erlend](https://havn.blog) (For making the logo)
|
||||||
- [ptr1337](https://github.com/ptr1337) (AUR Packages and optimization flags)
|
- [ptr1337](https://github.com/ptr1337) (AUR Packages and optimization flags)
|
||||||
|
|
||||||
|
|||||||
@@ -22,14 +22,13 @@ var gZenViewSplitter = {
|
|||||||
|
|
||||||
initializeUpdateContextMenuItems() {
|
initializeUpdateContextMenuItems() {
|
||||||
const contentAreaContextMenu = document.getElementById("tabContextMenu");
|
const contentAreaContextMenu = document.getElementById("tabContextMenu");
|
||||||
const tabCountInfo = JSON.stringify({
|
|
||||||
tabCount:
|
|
||||||
(window.gContextMenu?.contextTab.multiselected &&
|
|
||||||
window.gBrowser.multiSelectedTabsCount) ||
|
|
||||||
1,
|
|
||||||
});
|
|
||||||
|
|
||||||
contentAreaContextMenu.addEventListener("popupshowing", () => {
|
contentAreaContextMenu.addEventListener("popupshowing", () => {
|
||||||
|
const tabCountInfo = JSON.stringify({
|
||||||
|
tabCount: window.gBrowser.selectedTabs.length,
|
||||||
|
});
|
||||||
|
console.log(tabCountInfo);
|
||||||
|
console.log(window.gContextMenu);
|
||||||
document
|
document
|
||||||
.getElementById("context_zenSplitTabs")
|
.getElementById("context_zenSplitTabs")
|
||||||
.setAttribute("data-l10n-args", tabCountInfo);
|
.setAttribute("data-l10n-args", tabCountInfo);
|
||||||
|
|||||||
Reference in New Issue
Block a user