Fix bug in getCoveredSiblingGroups(): forgot to decrement i at the end

Change-Id: Iaba268e01000ac5a7ccfc6dfe23db624408e5234
This commit is contained in:
Catrope 2012-07-25 14:22:22 -07:00
parent c4e7544f60
commit ce84277287

View file

@ -470,6 +470,7 @@ ve.Document.prototype.getCoveredSiblingGroups = function( selection ) {
siblingNode = siblingNode.getParent();
}
} while ( siblingNode.getParent() === parentNode );
i--;
lastEndOffset = parentNode.getOuterRange().end;
}
return groups;