mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-25 15:21:32 +08:00
Ran eslint fix on existing codebase
Had to do some manual fixing of the app.js file due to misplaced comments
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import {fadeIn, fadeOut} from "../services/animations";
|
||||
import {onSelect} from "../services/dom";
|
||||
import {Component} from "./component";
|
||||
import {fadeIn, fadeOut} from '../services/animations';
|
||||
import {onSelect} from '../services/dom';
|
||||
import {Component} from './component';
|
||||
|
||||
/**
|
||||
* Popup window that will contain other content.
|
||||
@ -47,7 +47,7 @@ export class Popup extends Component {
|
||||
show(onComplete = null, onHide = null) {
|
||||
fadeIn(this.container, 120, onComplete);
|
||||
|
||||
this.onkeyup = (event) => {
|
||||
this.onkeyup = event => {
|
||||
if (event.key === 'Escape') {
|
||||
this.hide();
|
||||
}
|
||||
@ -56,4 +56,4 @@ export class Popup extends Component {
|
||||
this.onHide = onHide;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user