mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-24 16:43:38 +00:00
WebView: Add factory function.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -362,7 +362,7 @@ export class ServerManagerView {
|
||||
tabIndex,
|
||||
onHover: this.onHover.bind(this, index),
|
||||
onHoverOut: this.onHoverOut.bind(this, index),
|
||||
webview: new WebView({
|
||||
webview: WebView.create({
|
||||
$root: this.$webviewsContainer,
|
||||
index,
|
||||
tabIndex,
|
||||
|
||||
Reference in New Issue
Block a user