Commit 91981ca3 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Fix off-by-one on max children constraint.

parent af27a2bc
......@@ -46,7 +46,7 @@ var QfqNS = QfqNS || {};
var lines = n.countLines(escapedTargetSelector) + 1;
if (lines >= maxChildren) {
if (lines >= maxChildren + 1) {
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment