Commit 3e2cf2b3 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Откатил случайно залитую правку.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66320 954022d7-b5bf-4e40-9824-e11837661b57
parent 9ebb8b50
......@@ -1568,7 +1568,7 @@ CParagraphContentWithParagraphLikeContent.prototype.Get_PosByElement = function(
};
CParagraphContentWithParagraphLikeContent.prototype.Get_ElementByPos = function(ContentPos, Depth)
{
if (Depth + 1 >= ContentPos.Depth)
if (Depth >= ContentPos.Depth)
return this;
var CurPos = ContentPos.Get(Depth);
......
Markdown is supported
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