mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 07:41:23 +08:00
[DE] By bug 62959
This commit is contained in:
@ -482,8 +482,9 @@ define([
|
||||
onApiFontSize: function(size) {
|
||||
var type = this._state.type_fontsize;
|
||||
if (this.toolbar.cmbFontSize && this._state.type_fontsize === 'string') {
|
||||
var rec = this.toolbar.cmbFontSize.store.findWhere({
|
||||
value: size
|
||||
var strValue = size + '_str',
|
||||
rec = this.toolbar.cmbFontSize.store.findWhere({
|
||||
value: strValue
|
||||
});
|
||||
if (!rec) {
|
||||
type = 'number';
|
||||
|
||||
Reference in New Issue
Block a user