[DE mobile] Fix Bug 58859
This commit is contained in:
parent
0bf12a512b
commit
48364fe3ac
|
@ -47,12 +47,10 @@ const ToolbarView = props => {
|
|||
onRedoClick: props.onRedo
|
||||
})}
|
||||
{(isViewer || !Device.phone) && isAvailableExt && <Link className={props.disabledControls ? 'disabled' : ''} icon={isMobileView ? 'icon-standard-view' : 'icon-mobile-view'} href={false} onClick={async e => {
|
||||
e.target.closest('.link').classList.add('disabled');
|
||||
await props.changeMobileView();
|
||||
await props.openOptions('snackbar');
|
||||
setTimeout(() => {
|
||||
props.closeOptions('snackbar');
|
||||
e.target.closest('.link').classList.remove('disabled');
|
||||
}, 1500);
|
||||
}}></Link>}
|
||||
{(props.showEditDocument && !isViewer) &&
|
||||
|
|
Loading…
Reference in a new issue