Skip to content

Commit

Permalink
Prevent Chromium from opening the address/search bar with CTRL+E
Browse files Browse the repository at this point in the history
  • Loading branch information
saviit committed Feb 16, 2025
1 parent ddac4cd commit ae3691e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions timApp/static/scripts/tim/document/viewctrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,7 @@ export class ViewCtrl implements IController {

switch (keys) {
case "CTRL+E":
ev.preventDefault(); // Prevent Chrome/ium from shifting focus to the address bar
this.openEditor();
break;
default:
Expand Down

0 comments on commit ae3691e

Please sign in to comment.