Closed andylacko closed 7 years ago
I found solution in closed issues...
isAllowed: function (cEl, hint, target) {
console.log(hint.parentsUntil('#categoryList','ul').length);
if ((hint.parentsUntil('#categoryList','ul').length > 1)) {
hint.css('background-color', '#ff9999');
return false;
}
else {
hint.css('background-color', '#ddd');
return true;
}
}
Ok so I can close it.
Hello, is there a possibility to limit nesting level in this list? We only need main list and sublists, any other solution is unwatnted. Can I somehow limit the nesting level?
btw. I really like the lib, it is the best of its kind I found