Fixed typos

pull/717/head
Vincent 5 years ago
parent 6a4df71421
commit 6b577915a0

@ -10,13 +10,13 @@
initialize() {},
render() {
this.toastView = new Whisper.ReactWrapperView({
this.dialogView = new Whisper.ReactWrapperView({
className: 'app-loading-wrapper',
Component: window.Signal.Components.ConversationLoadingScreen,
props: this.props,
});
this.$el.append(this.toastView.el);
this.$el.append(this.dialogView.el);
},
});
})();

@ -24,7 +24,7 @@
const id = `conversation-${conversation.cid}`;
const container = $('#main-view .conversation-stack');
// Has been opened since app sart, but not focussed
// Has been opened since app start, but not focussed
const conversationExists = container.children(`#${id}`).length > 0;
// Is focussed
const conversationOpened = container.children().first().id === id;

@ -141,7 +141,7 @@ export class AddServerDialog extends React.Component<Props, State> {
const connectionResult = this.attemptConnection(serverURL, channelId);
// Give 10s maximum for promise to revole. Else, throw error.
// Give 10s maximum for promise to resolve. Else, throw error.
const maxConnectionDuration = 10000;
const connectionTimeout = setTimeout(() => {
if (!this.state.success) {

Loading…
Cancel
Save