[PE mobile] Fix Bug 47072

This commit is contained in:
SergeyEzhin 2021-08-24 20:18:40 +03:00
parent 065cb19646
commit e343a3a4f6

View file

@ -138,7 +138,7 @@ class EditTextController extends Component {
} else {
typeof size === 'undefined' || size == '' ? api.FontSizeIn() : size = Math.min(300, ++size);
}
if (typeof size !== 'undefined' || size == '') {
if (typeof size !== 'undefined' && size !== '') {
api.put_TextPrFontSize(size);
}
};