mirror of
https://github.com/flarum/framework.git
synced 2025-01-21 21:45:32 +08:00
Remove leftover function
This commit is contained in:
parent
e574b87a7e
commit
e3073832d5
5
framework/core/js/forum/dist/app.js
vendored
5
framework/core/js/forum/dist/app.js
vendored
|
@ -21320,11 +21320,6 @@ System.register('flarum/components/DiscussionRenamedPost', ['flarum/components/B
|
||||||
value: function full(data) {
|
value: function full(data) {
|
||||||
return [m('br', null), app.translator.trans('core.forum.post_stream.discussion_renamed_old_text', data), m('br', null), app.translator.trans('core.forum.post_stream.discussion_renamed_new_text', data)];
|
return [m('br', null), app.translator.trans('core.forum.post_stream.discussion_renamed_old_text', data), m('br', null), app.translator.trans('core.forum.post_stream.discussion_renamed_new_text', data)];
|
||||||
}
|
}
|
||||||
}, {
|
|
||||||
key: 'collapsed',
|
|
||||||
value: function collapsed() {
|
|
||||||
return this.toggleButton();
|
|
||||||
}
|
|
||||||
}, {
|
}, {
|
||||||
key: 'toggle',
|
key: 'toggle',
|
||||||
value: function toggle() {
|
value: function toggle() {
|
||||||
|
|
|
@ -53,10 +53,6 @@ export default class DiscussionRenamedPost extends EventPost {
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
collapsed() {
|
|
||||||
return this.toggleButton();
|
|
||||||
}
|
|
||||||
|
|
||||||
toggle() {
|
toggle() {
|
||||||
this.expanded = !this.expanded;
|
this.expanded = !this.expanded;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user