[DE] Fix Bug 37981

This commit is contained in:
Julia Radzhabova 2018-06-19 16:09:51 +03:00
parent c07b2e1db0
commit 169c4f90b7

View file

@ -202,7 +202,7 @@ define([
for (var i=0; i<count; i++) {
var anchor = anchors[i],
level = anchors[i].asc_GetHeadingLevel(),
level = anchors[i].asc_GetHeadingLevel()+1,
hasParent = true;
if (anchor.asc_GetType()== Asc.c_oAscHyperlinkAnchor.Heading){
if (level>prev_level)