Skip to content

Commit

Permalink
fix bug: draggable-node plugin block dblclick to trigger the edit mode (
Browse files Browse the repository at this point in the history
  • Loading branch information
hizzgdev authored Oct 16, 2023
1 parent 2e67a98 commit e12bb4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plugins/jsmind.draggable-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,9 @@ class DraggableNode {
jd.lookup_close_node.call(jd);
}, jd.options.lookup_interval);
}, this.options.lookup_delay);
this.capture = true;
$.w.setTimeout(function () {
jd.capture = true;
}, 0);
}
}
}
Expand Down

0 comments on commit e12bb4f

Please sign in to comment.