Skip to content

Commit

Permalink
Merge pull request #1602 from myukselen/master
Browse files Browse the repository at this point in the history
fix for being able to execute context_menu action by keyboard
  • Loading branch information
vakata committed Oct 26, 2016
2 parents bde4d82 + 78a437c commit 1655374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jstree.contextmenu.js
Expand Up @@ -580,7 +580,7 @@
switch(e.which) {
case 13:
case 32:
e.type = "mouseup";
e.type = "click";
e.preventDefault();
$(e.currentTarget).trigger(e);
break;
Expand Down

0 comments on commit 1655374

Please sign in to comment.