mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 08:16:55 +08:00
FIX: d-button should default type to button (#8217)
This will prevent unexpected behaviour of d-button being considered as a submit button.
This commit is contained in:
parent
8f51445e9f
commit
72822aa93f
@ -7,6 +7,8 @@ export default Ember.Component.extend({
|
||||
|
||||
form: null,
|
||||
|
||||
type: "button",
|
||||
|
||||
tagName: "button",
|
||||
classNameBindings: [":btn", "noText", "btnType"],
|
||||
attributeBindings: [
|
||||
|
Loading…
x
Reference in New Issue
Block a user