about summary refs log tree commit diff
path: root/app/assets/javascripts/components
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-05 03:19:04 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-05 03:19:04 +0100
commitfb6aa7ad5ce79ae0738ebf1cada0e834c33b0ef2 (patch)
treec0835a1eecf0ba434eec8984d120d21ed8000c49 /app/assets/javascripts/components
parent6cdcac1396e60286284fd8cbfe5c859050c696af (diff)
Add tracking of delay to streaming API
Diffstat (limited to 'app/assets/javascripts/components')
-rw-r--r--app/assets/javascripts/components/features/ui/containers/modal_container.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/ui/containers/modal_container.jsx b/app/assets/javascripts/components/features/ui/containers/modal_container.jsx
index 1e69fc59c..334e5c199 100644
--- a/app/assets/javascripts/components/features/ui/containers/modal_container.jsx
+++ b/app/assets/javascripts/components/features/ui/containers/modal_container.jsx
@@ -123,7 +123,7 @@ const Modal = React.createClass({
     window.addEventListener('keyup', this._listener);
   },
 
-  componentDidUnmount () {
+  componentWillUnmount () {
     window.removeEventListener('keyup', this._listener);
   },