Commit 34938ff9 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug with updating bookmark.

parent 20aaa29c
......@@ -3004,7 +3004,7 @@ CParagraphContentWithParagraphLikeContent.prototype.private_CheckUpdateBookmarks
for (var nIndex = 0, nCount = this.Content.length; nIndex < nCount; ++nIndex)
{
if (Item[nIndex] instanceof CParagraphBookmark)
if (para_Bookmark === Items[nIndex].Type)
{
var oLogicDocument = this.Paragraph && this.Paragraph.LogicDocument ? this.Paragraph.LogicDocument : editor.WordControl.m_oLogicDocument;
oLogicDocument.GetBookmarksManager().SetNeedUpdate(true);
......
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