WebView: Make preload a string.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-09-02 13:33:15 -07:00
parent fb5c6b365e
commit 743b2d6054
2 changed files with 8 additions and 5 deletions

View File

@@ -389,7 +389,7 @@ export class ServerManagerView {
},
onTitleChange: this.updateBadge.bind(this),
nodeIntegration: false,
preload: true,
preload: "js/preload.js",
}),
}),
);