3rd-party/extensions/contextmenu/js/jquery.fancytree.contextMenu.js
Function initContextMenu
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var initContextMenu = function (tree, selector, menu, actions) {
tree.$container.on("mousedown.contextMenu", function (event) {
var node = $.ui.fancytree.getNode(event);
if (node) {