1
0
mirror of https://github.com/flarum/core.git synced 2025-08-08 17:36:38 +02:00

update forum/components/ComposerButton

This commit is contained in:
Alexander Skvortsov
2020-08-08 14:33:12 -04:00
committed by Franz Liedke
parent 84c5248872
commit a454b185e9

View File

@@ -5,9 +5,9 @@ import Button from '../../common/components/Button';
* controls.
*/
export default class ComposerButton extends Button {
static initProps(props) {
super.initProps(props);
initAttrs(attrs) {
super.initAttrs(attrs);
props.className = props.className || 'Button Button--icon Button--link';
attrs.className = attrs.className || 'Button Button--icon Button--link';
}
}