mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
ESLINT: Addressed remaining detected issues
This commit is contained in:
@ -26,11 +26,11 @@ export class Popup extends Component {
|
||||
|
||||
this.container.addEventListener('click', event => {
|
||||
if (event.target === this.container && lastMouseDownTarget === this.container) {
|
||||
return this.hide();
|
||||
this.hide();
|
||||
}
|
||||
});
|
||||
|
||||
onSelect(this.hideButtons, e => this.hide());
|
||||
onSelect(this.hideButtons, () => this.hide());
|
||||
}
|
||||
|
||||
hide(onComplete = null) {
|
||||
|
Reference in New Issue
Block a user