1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Missed some create→extend changes

This commit is contained in:
Toby Zerner
2015-02-26 12:47:04 +10:30
parent c09e47c434
commit e7b93642b2
2 changed files with 4 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ export default Ember.Component.extend(HasItemLists, {
var component = this;
this.get('buttons').forEach(function(button) {
controls.pushObject(ActionButton.create({
controls.pushObject(ActionButton.extend({
label: button.label,
action: function() {
component.send('dismiss');
@@ -36,7 +36,7 @@ export default Ember.Component.extend(HasItemLists, {
});
if (this.get('dismissable')) {
var dismiss = ActionButton.create({
var dismiss = ActionButton.extend({
icon: 'times',
className: 'btn btn-icon btn-link',
action: function() { component.send('dismiss'); }