mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
fixup: remove flag
This commit is contained in:
parent
ffe34ee8a1
commit
c8af1a6256
@ -182,10 +182,10 @@ export default class BasicMessageEditor extends React.Component {
|
||||
const isSafari = ua.includes('safari/') && !ua.includes('chrome/');
|
||||
|
||||
if (isSafari) {
|
||||
this._onInput({inputType: "insertCompositionText"}, true);
|
||||
this._onInput({inputType: "insertCompositionText"});
|
||||
} else {
|
||||
setTimeout(() => {
|
||||
this._onInput({inputType: "insertCompositionText"}, true);
|
||||
this._onInput({inputType: "insertCompositionText"});
|
||||
}, 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user