fixup: remove flag

This commit is contained in:
Bruno Windels 2019-09-25 14:59:27 +02:00
parent ffe34ee8a1
commit c8af1a6256

View File

@ -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);
}
}