Alexander Skvortsov 9c77d677c6 Fix submitting TagDiscussionModal via enter key
The DOM submit method doesn't raise a `submit` event (https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit), so submitting the form this way just refreshed the page (default HTML form behavior). The recommended fix (and the one implemented here) is to simulate a button-triggered submission.

Fixes https://github.com/flarum/core/issues/2595
2021-02-07 01:38:39 -05:00
Description
Simple forum software for building great communities.
199 MiB
Languages
PHP 60.7%
TypeScript 26%
JavaScript 7.9%
Less 4.4%
Blade 0.8%
Other 0.2%