commit ed25f37e1dca2e5d03eaa96a049dd11f1e4da2b5
parent da568bfff0f63d055133259f8dce8e1999900215
Author: Davide P. Cervone <dpvc@union.edu>
Date: Mon, 10 Aug 2015 19:49:54 -0400
Remove() method should remove display container if the jax is a displayed equation.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js
@@ -596,6 +596,7 @@
Remove: function (jax) {
var node = document.getElementById(jax.inputID+"-Frame");
+ if (node && jax.CHTML.display) node = node.parentNode;
if (node) node.parentNode.removeChild(node);
delete jax.CHTML;
},