[SSE mobile] fix code structure
This commit is contained in:
parent
e10bd011a5
commit
d8a722c1c4
|
@ -323,17 +323,12 @@ define([
|
|||
});
|
||||
}
|
||||
}
|
||||
if (!this.api.asc_getSheetViewSettings().asc_getIsFreezePane()) {
|
||||
menuItems.push({
|
||||
caption: me.menuFreezePanes,
|
||||
event: 'freezePanes'
|
||||
});
|
||||
} else {
|
||||
menuItems.push({
|
||||
caption: me.menuUnfreezePanes,
|
||||
event: 'freezePanes'
|
||||
});
|
||||
}
|
||||
|
||||
menuItems.push({
|
||||
caption: this.api.asc_getSheetViewSettings().asc_getIsFreezePane() ? me.menuUnfreezePanes : me.menuFreezePanes,
|
||||
event: 'freezePanes'
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue