css: Remove the melodramatic fade-in animation on load.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-10-14 18:58:27 -07:00
parent 751eb6ef98
commit f092e99f42
2 changed files with 1 additions and 17 deletions

View File

@@ -143,10 +143,6 @@ export default class WebView {
});
this.$el!.addEventListener("dom-ready", () => {
if (this.props.role === "server") {
this.$el!.classList.add("onload");
}
this.loading = false;
this.props.switchLoading(false, this.props.url);
this.show();
@@ -197,11 +193,6 @@ export default class WebView {
this.$el!.classList.remove("disabled");
this.$el!.classList.add("active");
setTimeout(() => {
if (this.props.role === "server") {
this.$el!.classList.remove("onload");
}
}, 1000);
this.focus();
this.props.onTitleChange();
// Injecting preload css in webview to override some css rules