[DE] Update table of contents.

This commit is contained in:
Julia Radzhabova 2018-01-19 15:53:04 +03:00
parent c154b154e9
commit efa339a125

View file

@ -250,10 +250,7 @@ define([
}, },
onTableContentsUpdate: function(type){ onTableContentsUpdate: function(type){
if (type == 'pages') this.api.asc_UpdateTableOfContents(type == 'pages');
this.api.asc_updateTableOfContents();
else
this.api.asc_updateaddTableOfContents();
}, },
onNotesClick: function(type) { onNotesClick: function(type) {