Skip to content

Commit 5ac410a

Browse files
committed
default context please
1 parent 6040230 commit 5ac410a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.contextMenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,7 @@ $.contextMenu = function(operation, options) {
11921192
// merge with default options
11931193
var o = $.extend(true, {}, defaults, options || {});
11941194
var $document = $(document);
1195-
var $context;
1195+
var $context = $document;
11961196
var _hasContext = false;
11971197

11981198
if (!o.context || !o.context.length) {

0 commit comments

Comments
 (0)