[DE] Bug 38452

This commit is contained in:
Julia Radzhabova 2018-08-17 11:01:54 +03:00
parent 31a7a39f11
commit 51f36dd412

View file

@ -256,8 +256,7 @@ define([
win.show();
break;
case 'remove':
if (currentTOC && props)
currentTOC = props.get_InternalClass();
currentTOC = (currentTOC && props) ? props.get_InternalClass() : undefined;
this.api.asc_RemoveTableOfContents(currentTOC);
break;
}