Fix mathchoice Core() (should go to selected element, not selected element's Core())

This commit is contained in:
Davide P. Cervone 2013-04-30 14:20:45 -04:00
parent 2644cbb0d1
commit 609d6ca8fc

View File

@ -53,7 +53,7 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
setTeXclass: function (prev) {return this.selected().setTeXclass(prev)}, setTeXclass: function (prev) {return this.selected().setTeXclass(prev)},
isSpacelike: function () {return this.selected().isSpacelike()}, isSpacelike: function () {return this.selected().isSpacelike()},
isEmbellished: function () {return this.selected().isEmbellished()}, isEmbellished: function () {return this.selected().isEmbellished()},
Core: function () {return this.selected().Core()}, Core: function () {return this.selected()},
CoreMO: function () {return this.selected().CoreMO()}, CoreMO: function () {return this.selected().CoreMO()},
toHTML: function (span) { toHTML: function (span) {
span = this.HTMLcreateSpan(span); span = this.HTMLcreateSpan(span);