Skip to content

Commit 2c8a397

Browse files
committed
Regenerate dist
1 parent fd1571e commit 2c8a397

11 files changed

+17
-11
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

0 Bytes
Binary file not shown.

dist/jquery.contextMenu.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*!
33
* jQuery contextMenu - Plugin for simple contextMenu handling
44
*
5-
* Version: v2.7.0
5+
* Version: v2.7.1
66
*
77
* Authors: Björn Brala (SWIS.nl), Rodney Rehm, Addy Osmani (patches for FF)
88
* Web: http://swisnl.github.io/jQuery-contextMenu/
@@ -12,7 +12,7 @@
1212
* Licensed under
1313
* MIT License http://www.opensource.org/licenses/mit-license
1414
*
15-
* Date: 2018-10-02T14:29:27.829Z
15+
* Date: 2018-11-29T10:56:47.812Z
1616
*/
1717
@-webkit-keyframes cm-spin {
1818
0% {

dist/jquery.contextMenu.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* jQuery contextMenu v2.7.0 - Plugin for simple contextMenu handling
2+
* jQuery contextMenu v2.7.1 - Plugin for simple contextMenu handling
33
*
4-
* Version: v2.7.0
4+
* Version: v2.7.1
55
*
66
* Authors: Björn Brala (SWIS.nl), Rodney Rehm, Addy Osmani (patches for FF)
77
* Web: http://swisnl.github.io/jQuery-contextMenu/
@@ -11,7 +11,7 @@
1111
* Licensed under
1212
* MIT License http://www.opensource.org/licenses/mit-license
1313
*
14-
* Date: 2018-10-02T14:29:27.777Z
14+
* Date: 2018-11-29T10:56:47.758Z
1515
*/
1616

1717
// jscs:disable
@@ -239,6 +239,7 @@
239239
},
240240
// events
241241
events: {
242+
preShow: $.noop,
242243
show: $.noop,
243244
hide: $.noop,
244245
activated: $.noop
@@ -278,6 +279,11 @@
278279
// contextmenu show dispatcher
279280
contextmenu: function (e) {
280281
var $this = $(this);
282+
283+
//Show browser context-menu when preShow returns false
284+
if (e.data.events.preShow($this,e) === false) {
285+
return;
286+
}
281287

282288
// disable actual context-menu if we are using the right mouse button as the trigger
283289
if (e.data.trigger === 'right') {

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)