Skip to content

Commit

Permalink
fix: [eventGraph] Typing do not trigger eventGraph action anymore. Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mokaddem committed Dec 3, 2019
1 parent 00dcc61 commit 32d3385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/webroot/js/event-graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -2105,7 +2105,7 @@ function enable_interactive_graph() {
eventGraph = new EventGraph(network_options, nodes, edges);

$(document).on("keydown", function(evt) {
if (evt.target !== undefined && $(evt.target).is('input')) {
if (evt.target !== undefined && ($(evt.target).is('input') || $(evt.target).is('textarea'))) {
return;
}
switch(evt.keyCode) {
Expand Down

0 comments on commit 32d3385

Please sign in to comment.