Small patch for a null TypeError in post_list updating code

Этот коммит содержится в:
Christopher Speller
2015-07-22 09:51:42 -04:00
родитель eb7c08ab00
Коммит 03cd1cc7d6

Просмотреть файл

@@ -223,6 +223,7 @@ module.exports = React.createClass({
}
},
_onTimeChange: function() {
if (!this.state.post_list) return;
for (var id in this.state.post_list.posts) {
if (!this.refs[id]) continue;
this.refs[id].forceUpdateInfo();