mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-14 18:27:44 +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() {
|
||||
this.props.dispatch({
|
||||
pluginName: PLUGIN_NAME,
|
||||
type: 'PLUGIN_DIALOG_SET',
|
||||
open: false,
|
||||
});
|
||||
modalLayer_onClick(event) {
|
||||
if (event.currentTarget == event.target) {
|
||||
this.props.dispatch({
|
||||
pluginName: PLUGIN_NAME,
|
||||
type: 'PLUGIN_DIALOG_SET',
|
||||
open: false,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
helpButton_onClick() {
|
||||
|
Loading…
Reference in New Issue
Block a user