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