Skip to content
Features
Business
Explore
Marketplace
Pricing
This repository
Sign in
or
Sign up
Watch
3
Star
21
Fork
1
krrishd
/
write
Code
Issues
1
Pull requests
0
Projects
0
Insights
Pulse
Graphs
Permalink
Browse files
Fixed Chrome bug
Loading branch information
...
1 parent
0b3c288
commit
e799dec25d35b95eef89f1364fc8f9ef423a32bc
krrishd
committed
Jan 11, 2017
Unified
Split
Showing
1 changed file
with
4 additions
and
1 deletion
.
+4
−1
src/Menu.js
Show comments
View
5
src/Menu.js
@@ -73,7 +73,10 @@ class Menu extends Component {
}
componentWillUnmount
() {
-
window
.
removeEventListener
(
'
keydown
'
);
+
const
self
=
this
;
+
window
.
removeEventListener
(
'
keydown
'
,
e
=>
{
+
self
.
menuEventHandler
(e, self);
+ });
}
render
() {
Toggle all file notes
0 comments on commit
e799dec
Please
sign in
to comment.
You can't perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
0 comments on commit
e799dec