Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
destroying background
When there are multiple namespaces the background is still present
after destroy has run. This will remove the background after everything
has be removed.
  • Loading branch information
metric152 committed Jul 13, 2012
commit 01f5b16a78c8caadc8325f0175460be2073b636c
2 changes: 1 addition & 1 deletion src/jquery.contextMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ $.contextMenu = function(operation, options) {
} catch(e) {
menus[namespaces[o.selector]] = null;
}

$('#context-menu-layer').remove();
$document.off(namespaces[o.selector]);
}
break;
Expand Down