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 {
|
showNotificationSettings(): void {
|
||||||
this.send("show-notification-settings");
|
this.send("show-notification-settings");
|
||||||
|
this.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
focus(): void {
|
focus(): void {
|
||||||
@@ -176,6 +177,7 @@ export default class WebView {
|
|||||||
|
|
||||||
showKeyboardShortcuts(): void {
|
showKeyboardShortcuts(): void {
|
||||||
this.send("show-keyboard-shortcuts");
|
this.send("show-keyboard-shortcuts");
|
||||||
|
this.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
openDevTools(): void {
|
openDevTools(): void {
|
||||||
|
Reference in New Issue
Block a user