BookStackApp_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();
}
}