mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
beck things to previous state
This commit is contained in:
parent
aeff72e24a
commit
3317ec530d
1 changed files with 2 additions and 4 deletions
|
|
@ -286,8 +286,7 @@ var // currently active contextMenu trigger
|
|||
mouseenter: function(e) {
|
||||
var $this = $(this),
|
||||
$related = $(e.relatedTarget),
|
||||
//$document = $(document);
|
||||
$document = $('li');
|
||||
$document = $(document);
|
||||
|
||||
// abort if we're coming from a menu
|
||||
if ($related.is('.context-menu-list') || $related.closest('.context-menu-list').length) {
|
||||
|
|
@ -1205,8 +1204,7 @@ $.contextMenu = function(operation, options) {
|
|||
|
||||
// merge with default options
|
||||
var o = $.extend(true, {}, defaults, options || {}),
|
||||
//$document = $(document);
|
||||
$document = $('li');
|
||||
$document = $(document);
|
||||
|
||||
switch (operation) {
|
||||
case 'create':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue