summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/react/components/post_list.jsx1
-rw-r--r--web/react/components/sidebar_right.jsx1
2 files changed, 2 insertions, 0 deletions
diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx
index 2cccdff22..177e4a1db 100644
--- a/web/react/components/post_list.jsx
+++ b/web/react/components/post_list.jsx
@@ -196,6 +196,7 @@ module.exports = React.createClass({
}
this.setState(newState);
} else {
+ // Updates the timestamp on each post
this.forceUpdate()
}
},
diff --git a/web/react/components/sidebar_right.jsx b/web/react/components/sidebar_right.jsx
index baffa0ab7..60c8ffae6 100644
--- a/web/react/components/sidebar_right.jsx
+++ b/web/react/components/sidebar_right.jsx
@@ -24,6 +24,7 @@ module.exports = React.createClass({
UserStore.removeStatusesChangeListener(this._onChange);
},
_onChange: function() {
+ // Updates the timestamp on each post
this.forceUpdate();
},
_onSelectedChange: function(from_search) {