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.
2 parents 62d1509 + 9e8667b commit cd06455Copy full SHA for cd06455
src/jquery.contextMenu.js
@@ -448,7 +448,7 @@
448
offset;
449
450
e.preventDefault();
451
- e.stopImmediatePropagation();
+ // e.stopImmediatePropagation();
452
453
setTimeout(function () {
454
var $window;
@@ -469,13 +469,13 @@
469
sel.removeAllRanges();
470
sel.addRange(range);
471
}
472
-
+ $(target).trigger(e);
473
root.$layer.show();
474
475
476
if (root.reposition && triggerAction) {
477
if (document.elementFromPoint) {
478
- if (root.$trigger.is(target) || root.$trigger.has(target).length) {
+ if (root.$trigger.is(target)) {
479
root.position.call(root.$trigger, root, x, y);
480
return;
481
0 commit comments