Commit 264d0000 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug with GetElement function in ApiBuilder.

parent 2b7fe417
......@@ -1073,7 +1073,7 @@
var Type = this.Document.Content[nPos].Get_Type();
if (type_Paragraph === Type)
return new ApiParagraph(this.Document.Content[nPos]);
else if (type_Paragraph === Type)
else if (type_Table === Type)
return new ApiTable(this.Document.Content[nPos]);
return null;
......
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