mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-03 05:23:17 +00:00
remove unneeded listener
This commit is contained in:
@@ -182,9 +182,6 @@ class ServerManagerView {
|
||||
$webView.addEventListener('dom-ready', () => {
|
||||
$webView.focus();
|
||||
});
|
||||
$webView.addEventListener('focus', () => {
|
||||
console.log('webview focus...', $webView.focus)
|
||||
})
|
||||
}
|
||||
|
||||
registerIpcs() {
|
||||
@@ -199,7 +196,7 @@ class ServerManagerView {
|
||||
activeWebview.goBack();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
ipcRenderer.on('focus', () => {
|
||||
const activeWebview = document.getElementById(`webview-${this.activeTabIndex}`);
|
||||
activeWebview.focus()
|
||||
|
||||
Reference in New Issue
Block a user