Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
[main] restart MathJax during clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
pkra committed May 5, 2017
1 parent 5156d65 commit fb9c6b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ exports.mjpage = function(htmlstring, configOptions, typesetOptions, callback) {
if (config.fragment) output = document.body.innerHTML;
else output = serializeDocument(document);
window.close();
mathjax.start();
callback(output);
})
}
Expand Down

0 comments on commit fb9c6b1

Please sign in to comment.