mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-03 13:33:18 +00:00
css: Simplify webview CSS.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -56,7 +56,6 @@ export default class WebView {
|
||||
templateHTML(): HTML {
|
||||
return html`
|
||||
<webview
|
||||
class="disabled"
|
||||
data-tab-id="${this.props.tabIndex}"
|
||||
src="${this.props.url}"
|
||||
${new HTML({html: this.props.nodeIntegration ? "nodeIntegration" : ""})}
|
||||
@@ -191,7 +190,6 @@ export default class WebView {
|
||||
this.$webviewsContainer.add("loaded");
|
||||
}
|
||||
|
||||
this.$el!.classList.remove("disabled");
|
||||
this.$el!.classList.add("active");
|
||||
this.focus();
|
||||
this.props.onTitleChange();
|
||||
@@ -237,7 +235,6 @@ export default class WebView {
|
||||
}
|
||||
|
||||
hide(): void {
|
||||
this.$el!.classList.add("disabled");
|
||||
this.$el!.classList.remove("active");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user