diff --git a/src/zen/common/modules/ZenUIManager.mjs b/src/zen/common/modules/ZenUIManager.mjs index 0178322ec..11a0fffd6 100644 --- a/src/zen/common/modules/ZenUIManager.mjs +++ b/src/zen/common/modules/ZenUIManager.mjs @@ -500,6 +500,12 @@ window.gZenUIManager = { return false; } + // Close the new tab popup on cmd/ctrl + t + if (!overridePreferance && gURLBar.hasAttribute("zen-newtab")) { + this.handleUrlbarClose(); + return true; + } + // Clear any existing timeout if (this._clearTimeout) { clearTimeout(this._clearTimeout);