diff --git a/extensions/markdown/js/src/forum/components/MarkdownButton.js b/extensions/markdown/js/src/forum/components/MarkdownButton.js index bff1fc194..6ad05e094 100644 --- a/extensions/markdown/js/src/forum/components/MarkdownButton.js +++ b/extensions/markdown/js/src/forum/components/MarkdownButton.js @@ -14,7 +14,7 @@ export default class MarkdownButton extends Component { view() { return ; } @@ -26,7 +26,7 @@ export default class MarkdownButton extends Component { } click() { - return apply(this.element, this.styles()); + return apply(this.element, this.props.style); } title() { @@ -36,12 +36,4 @@ export default class MarkdownButton extends Component { return tooltip; } - - icon() { - return this.props.icon; - } - - styles() { - return this.props.style; - } }