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 e40e5fd commit 928f4cbCopy full SHA for 928f4cb
jquery.ui-contextmenu.js
@@ -27,7 +27,7 @@
27
delegate: "[data-menu]", // selector
28
hide: { effect: "fadeOut", duration: "fast"},
29
show: { effect: "slideDown", duration: "slow"},
30
- position: null, // specify positional preferences.
+ position: null, // specify positional preferences (added for issue #18 and #13).
31
ignoreParentSelect: true, // Don't trigger 'select' for sub-menu parents
32
menu: null, // selector or jQuery or a function returning such
33
preventSelect: false, // disable text selection of target
@@ -157,6 +157,7 @@
157
}
158
});
159
160
+ // required for custom positioning (issue #18 and #13).
161
var posOption = this.options.position;
162
163
if (posOption == null) {
0 commit comments