mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-10 05:06:56 +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,4 +1,4 @@
|
||||
import {Component} from "./component";
|
||||
import {Component} from './component';
|
||||
|
||||
/**
|
||||
* Submit on change
|
||||
@ -9,8 +9,7 @@ export class SubmitOnChange extends Component {
|
||||
setup() {
|
||||
this.filter = this.$opts.filter;
|
||||
|
||||
this.$el.addEventListener('change', (event) => {
|
||||
|
||||
this.$el.addEventListener('change', event => {
|
||||
if (this.filter && !event.target.matches(this.filter)) {
|
||||
return;
|
||||
}
|
||||
@ -22,4 +21,4 @@ export class SubmitOnChange extends Component {
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user