mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-03 05:23:17 +00:00
css: Remove the melodramatic fade-in animation on load.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user