mirror of
https://github.com/discourse/discourse.git
synced 2025-02-26 11:47:57 +08:00

This is a default behavior for browsers to submit using first button which doesn't have `type="button"` in a form when pressing enter inside an input.