Skip to content

Commit

Permalink
Fix (save-html.js): Added code to remove toc-nav node.
Browse files Browse the repository at this point in the history
If there is a toc-nav node when saving a snapshot, remove it.  It is not
part of the document. It was added by fixup.js.

Should address #644
  • Loading branch information
halindrome authored and marcoscaceres committed Mar 14, 2016
1 parent 1e5523d commit f9ee40f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/ui/save-html.js
Expand Up @@ -8,6 +8,7 @@ define(
var msg, doc, conf;
var cleanup = function (rootEl) {
$(".removeOnSave", rootEl).remove();
$("#toc-nav", rootEl).remove() ;
utils.removeReSpec(rootEl);
};
return {
Expand Down

0 comments on commit f9ee40f

Please sign in to comment.