mirror of
https://github.com/zen-browser/desktop
synced 2026-04-25 17:15:00 +02:00
feat: close new tab popup on Cmd/Ctrl + T, p=#12734
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user