summaryrefslogtreecommitdiffstats
path: root/web/react/components/textbox.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/textbox.jsx')
-rw-r--r--web/react/components/textbox.jsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/react/components/textbox.jsx b/web/react/components/textbox.jsx
index 7e5f8e2f4..ad50b7920 100644
--- a/web/react/components/textbox.jsx
+++ b/web/react/components/textbox.jsx
@@ -71,11 +71,10 @@ module.exports = React.createClass({
type: ActionTypes.RECIEVED_ERROR,
err: null
});
- this.setState({ numPresses: 0 });
AsyncClient.updateLastViewedAt();
}
-
+
window.clearInterval(this.state.timerInterrupt);
this.setState({ timerInterrupt: null });
},