1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 07:32:39 +01:00
BookStack/resources/js/components/auto-submit.js
Dan Brown e711290d8b
Ran eslint fix on existing codebase
Had to do some manual fixing of the app.js file due to misplaced
comments
2023-04-18 22:20:02 +01:00

12 lines
167 B
JavaScript

import {Component} from './component';
export class AutoSubmit extends Component {
setup() {
this.form = this.$el;
this.form.submit();
}
}