mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Merge branch 'develop' into feature/ve-mobile
This commit is contained in:
@ -80,11 +80,6 @@ class MainPage extends Component {
|
||||
}
|
||||
|
||||
componentDidMount () {
|
||||
if ($$('.skl-container').length) {
|
||||
$$('.skl-container').remove();
|
||||
}
|
||||
|
||||
|
||||
document.addEventListener('touchmove', this.touchMoveHandler);
|
||||
|
||||
if (Device.ios) {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import React, {Fragment} from 'react';
|
||||
import React, {Fragment, useEffect } from 'react';
|
||||
import {NavLeft, NavRight, Link} from 'framework7-react';
|
||||
import { Device } from '../../../../common/mobile/utils/device';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
@ -9,6 +9,15 @@ const ToolbarView = props => {
|
||||
const docTitle = props.docTitle;
|
||||
const isOpenModal = props.isOpenModal;
|
||||
|
||||
useEffect(() => {
|
||||
if ( $$('.skl-container').length ) {
|
||||
$$('.skl-container').remove();
|
||||
}
|
||||
|
||||
return () => {
|
||||
}
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
<NavLeft>
|
||||
|
||||
Reference in New Issue
Block a user