Changed spacing model of connection flag & removed unnecessary duplication of logic
Этот коммит содержится в:
@@ -73,14 +73,11 @@ module.exports = React.createClass({
|
||||
});
|
||||
this.setState({ numPresses: 0 });
|
||||
|
||||
window.clearInterval(this.state.timerInterrupt);
|
||||
this.setState({ timerInterrupt: null });
|
||||
AsyncClient.updateLastViewedAt();
|
||||
}
|
||||
else {
|
||||
|
||||
window.clearInterval(this.state.timerInterrupt);
|
||||
this.setState({ timerInterrupt: null });
|
||||
}
|
||||
},
|
||||
componentDidUpdate: function() {
|
||||
if (this.caret >= 0) {
|
||||
|
||||
Ссылка в новой задаче
Block a user