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:
committed by
Franz Liedke
parent
84c5248872
commit
a454b185e9
@@ -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';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user