Merge pull request #935 from ONLYOFFICE/fix/fix-bugs-on-mobiles
[SSE mobile] Fix bug 50785
This commit is contained in:
commit
8ee53aa94e
|
@ -12,8 +12,8 @@ class _FunctionGroups extends Component {
|
|||
super(props);
|
||||
}
|
||||
componentDidMount() {
|
||||
Common.Notifications.on('engineCreated', api => {
|
||||
this.api = api;
|
||||
Common.Notifications.on('document:ready', () => {
|
||||
this.api = Common.EditorApi.get();
|
||||
this.init();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue