feat: close new tab popup on Cmd/Ctrl + T, p=#12734

This commit is contained in:
Thomas
2026-03-11 18:46:27 +01:00
committed by GitHub
parent 60318bb64c
commit 544fd480b1

View File

@@ -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);