mirror of
https://github.com/flarum/core.git
synced 2025-08-04 15:37:51 +02:00
9
js/forum/dist/app.js
vendored
9
js/forum/dist/app.js
vendored
@@ -21274,9 +21274,16 @@ System.register('flarum/components/DiscussionRenamedPost', ['flarum/components/B
|
|||||||
babelHelpers.createClass(DiscussionRenamedPost, [{
|
babelHelpers.createClass(DiscussionRenamedPost, [{
|
||||||
key: 'init',
|
key: 'init',
|
||||||
value: function init() {
|
value: function init() {
|
||||||
|
var _this2 = this;
|
||||||
|
|
||||||
babelHelpers.get(Object.getPrototypeOf(DiscussionRenamedPost.prototype), 'init', this).call(this);
|
babelHelpers.get(Object.getPrototypeOf(DiscussionRenamedPost.prototype), 'init', this).call(this);
|
||||||
|
|
||||||
this.expanded = true;
|
this.expanded = false;
|
||||||
|
|
||||||
|
// Rerender the post content when we toggle the details.
|
||||||
|
this.subtree.check(function () {
|
||||||
|
return _this2.expanded;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
key: 'icon',
|
key: 'icon',
|
||||||
|
@@ -13,7 +13,12 @@ export default class DiscussionRenamedPost extends EventPost {
|
|||||||
init() {
|
init() {
|
||||||
super.init();
|
super.init();
|
||||||
|
|
||||||
this.expanded = true;
|
this.expanded = false;
|
||||||
|
|
||||||
|
// Rerender the post content when we toggle the details.
|
||||||
|
this.subtree.check(
|
||||||
|
() => this.expanded
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
icon() {
|
icon() {
|
||||||
|
Reference in New Issue
Block a user