Skip to content

Commit 78a1a2c

Browse files
committed
build: rebuild dist
1 parent 2a77f30 commit 78a1a2c

11 files changed

+22
-14
lines changed

dist/font/context-menu-icons.eot

0 Bytes
Binary file not shown.

dist/font/context-menu-icons.ttf

0 Bytes
Binary file not shown.

dist/font/context-menu-icons.woff

0 Bytes
Binary file not shown.

dist/font/context-menu-icons.woff2

-4 Bytes
Binary file not shown.

dist/jquery.contextMenu.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Licensed under
1313
* MIT License http://www.opensource.org/licenses/mit-license
1414
*
15-
* Date: 2025-11-04T11:25:40.032Z
15+
* Date: 2025-11-04T11:31:40.817Z
1616
*/
1717
@-webkit-keyframes cm-spin {
1818
0% {
@@ -54,8 +54,8 @@
5454
font-style: normal;
5555
font-weight: normal;
5656

57-
src: url("font/context-menu-icons.eot?33lxn");
58-
src: url("font/context-menu-icons.eot?33lxn#iefix") format("embedded-opentype"), url("font/context-menu-icons.woff2?33lxn") format("woff2"), url("font/context-menu-icons.woff?33lxn") format("woff"), url("font/context-menu-icons.ttf?33lxn") format("truetype");
57+
src: url("font/context-menu-icons.eot?2dq4x");
58+
src: url("font/context-menu-icons.eot?2dq4x#iefix") format("embedded-opentype"), url("font/context-menu-icons.woff2?2dq4x") format("woff2"), url("font/context-menu-icons.woff?2dq4x") format("woff"), url("font/context-menu-icons.ttf?2dq4x") format("truetype");
5959
}
6060

6161
.context-menu-icon-add:before {

dist/jquery.contextMenu.js

Lines changed: 13 additions & 5 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: 2025-11-04T11:25:40.325Z
14+
* Date: 2025-11-04T11:31:41.320Z
1515
*/
1616

1717
// jscs:disable
@@ -2098,8 +2098,12 @@
20982098
name: $node.text(),
20992099
disabled: !!$node.attr('disabled'),
21002100
callback: (function () {
2101-
return function () {
2102-
$node.get(0).click();
2101+
return function (itemKey, opt, ev) {
2102+
if ($node.get(0).onclick !== null) {
2103+
$node.get(0).click();
2104+
} else {
2105+
opt.callback(itemKey, opt, ev);
2106+
}
21032107
};
21042108
})()
21052109
};
@@ -2117,8 +2121,12 @@
21172121
disabled: !!$node.attr('disabled'),
21182122
icon: $node.attr('icon'),
21192123
callback: (function () {
2120-
return function () {
2121-
$node.get(0).click();
2124+
return function (itemKey, opt, ev) {
2125+
if ($node.get(0).onclick !== null) {
2126+
$node.get(0).click();
2127+
} else {
2128+
opt.callback(itemKey, opt, ev);
2129+
}
21222130
};
21232131
})()
21242132
};

dist/jquery.contextMenu.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)