mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-23 03:31:56 +00:00
Focus the webview for notification settings, keyboard shortcuts.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -142,6 +142,7 @@ export default class WebView {
|
||||
|
||||
showNotificationSettings(): void {
|
||||
this.send("show-notification-settings");
|
||||
this.focus();
|
||||
}
|
||||
|
||||
focus(): void {
|
||||
@@ -176,6 +177,7 @@ export default class WebView {
|
||||
|
||||
showKeyboardShortcuts(): void {
|
||||
this.send("show-keyboard-shortcuts");
|
||||
this.focus();
|
||||
}
|
||||
|
||||
openDevTools(): void {
|
||||
|
Reference in New Issue
Block a user