mirror of
https://github.com/flarum/framework.git
synced 2025-03-15 00:05:12 +08:00
fix: Anchors should not have type="button"
(#3086)
This commit is contained in:
parent
1d15cff9ca
commit
e2f01c040b
@ -27,6 +27,7 @@ export default class LinkButton extends Button {
|
||||
|
||||
vdom.tag = Link;
|
||||
vdom.attrs.active = String(vdom.attrs.active);
|
||||
delete vdom.attrs.type;
|
||||
|
||||
return vdom;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user