BookStack
BookStack copied to clipboard
Change JavaScript form `submit()` calls to `requestSubmit()`
As described here: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/requestSubmit
This would play nicer with normal event handling. Thought about while helping build a JS hack, where existing submit event was difficult to override since it ignores the event system.