mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 06:21:03 +02:00
Move and lint
This commit is contained in:
parent
cecd2cbd71
commit
d431e37d9b
@ -450,9 +450,6 @@ export default class ContentMessages {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
// Focus the composer view
|
|
||||||
dis.dispatch({action: 'focus_composer'})
|
|
||||||
|
|
||||||
// if we have a mime type for the file, add it to the message metadata
|
// if we have a mime type for the file, add it to the message metadata
|
||||||
if (file.type) {
|
if (file.type) {
|
||||||
content.info.mimetype = file.type;
|
content.info.mimetype = file.type;
|
||||||
@ -495,6 +492,9 @@ export default class ContentMessages {
|
|||||||
this.inprogress.push(upload);
|
this.inprogress.push(upload);
|
||||||
dis.dispatch({action: 'upload_started'});
|
dis.dispatch({action: 'upload_started'});
|
||||||
|
|
||||||
|
// Focus the composer view
|
||||||
|
dis.dispatch({action: 'focus_composer'});
|
||||||
|
|
||||||
let error;
|
let error;
|
||||||
|
|
||||||
function onProgress(ev) {
|
function onProgress(ev) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user