We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbbf33c commit 9e8667bCopy full SHA for 9e8667b
src/jquery.contextMenu.js
@@ -443,7 +443,7 @@
443
offset;
444
445
e.preventDefault();
446
- e.stopImmediatePropagation();
+ // e.stopImmediatePropagation();
447
448
setTimeout(function () {
449
var $window;
@@ -465,12 +465,13 @@
465
sel.addRange(range);
466
}
467
468
+ $(target).trigger(e);
469
root.$layer.show();
470
471
472
if (root.reposition && triggerAction) {
473
if (document.elementFromPoint) {
- if (root.$trigger.is(target) || root.$trigger.has(target).length) {
474
+ if (root.$trigger.is(target)) {
475
root.position.call(root.$trigger, root, x, y);
476
return;
477
0 commit comments