Skip to content

Commit d4b84e1

Browse files
committed
Change $node.click() to $node.get(0).click() to allow native event in HTML5ü
1 parent 688ff7c commit d4b84e1

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

dist/jquery.contextMenu.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Licensed under
1212
* MIT License http://www.opensource.org/licenses/mit-license
1313
*
14-
* Date: 2017-04-24T14:45:19.531Z
14+
* Date: 2017-05-05T12:53:02.961Z
1515
*/
1616

1717
// jscs:disable
@@ -1902,7 +1902,7 @@
19021902
disabled: !!$node.attr('disabled'),
19031903
callback: (function () {
19041904
return function () {
1905-
$node.click();
1905+
$node.get(0).click()
19061906
};
19071907
})()
19081908
};
@@ -1922,7 +1922,7 @@
19221922
icon: $node.attr('icon'),
19231923
callback: (function () {
19241924
return function () {
1925-
$node.click();
1925+
$node.get(0).click()
19261926
};
19271927
})()
19281928
};

0 commit comments

Comments
 (0)