mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-17 20:32:23 +00:00
fixed linting errors
This commit is contained in:
@@ -60,7 +60,9 @@ class WebView extends BaseComponent {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.$el.addEventListener('dom-ready', () => {
|
this.$el.addEventListener('dom-ready', () => {
|
||||||
if (this.props.role === 'server') this.$el.classList.add('onload');
|
if (this.props.role === 'server') {
|
||||||
|
this.$el.classList.add('onload');
|
||||||
|
}
|
||||||
this.show();
|
this.show();
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -96,7 +98,9 @@ class WebView extends BaseComponent {
|
|||||||
|
|
||||||
this.$el.classList.remove('disabled');
|
this.$el.classList.remove('disabled');
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (this.props.role === 'server') this.$el.classList.remove('onload');
|
if (this.props.role === 'server') {
|
||||||
|
this.$el.classList.remove('onload');
|
||||||
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
this.focus();
|
this.focus();
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user