We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First, thanks for this plugin !
The demo don't use the same code as the current code, which cause issue in depth count.
Modification below are related to toArray method.
Current code, line 752
$(this.element).children(o.items).each(function () { left = _recursiveArray(this, sDepth, left); });
To be change to :
$(this.element).children(o.items).each(function () { left = _recursiveArray(this, sDepth + 1, left); });
and same in _recursiveArray
if (depth === sDepth) { pid = o.rootID; } else {
to
if (depth === sDepth + 1) { pid = o.rootID; } else {
The text was updated successfully, but these errors were encountered:
No branches or pull requests
First, thanks for this plugin !
The demo don't use the same code as the current code, which cause issue in depth count.
Modification below are related to toArray method.
Current code, line 752
To be change to :
and same in _recursiveArray
to
The text was updated successfully, but these errors were encountered: