mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-17 18:44:45 +02:00
* Fix Go To Anything closing when clicking inside the modal * Update GotoAnything.jsx * Update GotoAnything.jsx Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
This commit is contained in:
parent
83aff6f478
commit
aea3de982a
@ -115,12 +115,14 @@ class Dialog extends React.PureComponent {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
modalLayer_onClick() {
|
modalLayer_onClick(event) {
|
||||||
this.props.dispatch({
|
if (event.currentTarget == event.target) {
|
||||||
pluginName: PLUGIN_NAME,
|
this.props.dispatch({
|
||||||
type: 'PLUGIN_DIALOG_SET',
|
pluginName: PLUGIN_NAME,
|
||||||
open: false,
|
type: 'PLUGIN_DIALOG_SET',
|
||||||
});
|
open: false,
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
helpButton_onClick() {
|
helpButton_onClick() {
|
||||||
|
Loading…
Reference in New Issue
Block a user