This commit is contained in:
Dan Abramov 2015-09-12 17:17:41 +03:00
parent d1d39a0890
commit 22011114f5

View File

@ -34,7 +34,7 @@ const styles = {
export default class LogMonitor extends Component {
constructor(props) {
super(props)
super(props);
if (typeof window !== 'undefined') {
window.addEventListener('keydown', ::this.handleKeyPress);
}