diff --git a/apps/documenteditor/mobile/src/view/settings/DocumentSettings.jsx b/apps/documenteditor/mobile/src/view/settings/DocumentSettings.jsx index 6f641b534..6a8ee5c28 100644 --- a/apps/documenteditor/mobile/src/view/settings/DocumentSettings.jsx +++ b/apps/documenteditor/mobile/src/view/settings/DocumentSettings.jsx @@ -69,7 +69,6 @@ const PageDocumentMargins = props => { } if(errorMsg) { - f7.popover.close('#settings-popover'); f7.dialog.alert(errorMsg, _t.notcriticalErrorTitle); return; } diff --git a/apps/documenteditor/mobile/src/view/settings/Settings.jsx b/apps/documenteditor/mobile/src/view/settings/Settings.jsx index 654004353..5802f473e 100644 --- a/apps/documenteditor/mobile/src/view/settings/Settings.jsx +++ b/apps/documenteditor/mobile/src/view/settings/Settings.jsx @@ -195,7 +195,7 @@ class SettingsView extends Component { const show_popover = this.props.usePopover; return ( show_popover ? - this.props.onclosed()}> + this.props.onclosed()}> : this.props.onclosed()}>