[DE mobile] Fix Bug 54001

This commit is contained in:
SergeyEzhin 2022-01-13 01:20:57 +04:00
parent a9f254522e
commit 789314a777
2 changed files with 1 additions and 2 deletions

View file

@ -69,7 +69,6 @@ const PageDocumentMargins = props => {
}
if(errorMsg) {
f7.popover.close('#settings-popover');
f7.dialog.alert(errorMsg, _t.notcriticalErrorTitle);
return;
}

View file

@ -195,7 +195,7 @@ class SettingsView extends Component {
const show_popover = this.props.usePopover;
return (
show_popover ?
<Popover id="settings-popover" className="popover__titled" onPopoverClosed={() => this.props.onclosed()}>
<Popover id="settings-popover" closeByOutsideClick={false} className="popover__titled" onPopoverClosed={() => this.props.onclosed()}>
<SettingsList inPopover={true} onOptionClick={this.onoptionclick} openOptions={this.props.openOptions} style={{height: '410px'}} onReaderMode={this.props.onReaderMode} onPrint={this.props.onPrint} showHelp={this.props.showHelp} onOrthographyCheck={this.props.onOrthographyCheck} onDownloadOrigin={this.props.onDownloadOrigin}/>
</Popover> :
<Popup className="settings-popup" onPopupClosed={() => this.props.onclosed()}>