oerpub/Aloha-Editor — pull request #54 by izak (2013-08-12 18:40:56+00:00)
Title: Math fixes 20130812

A couple of fixes to the math plugin. One caused by Phil's removal of the preventDefault code some time ago, this caused the "delete" X to stop working. With the other code there seemed to be random cases where squirelling the math failed. After simplifying that code a bit, and explicitly calling return, the problem went away. Finally, if squirelling fail, rather log the problem instead of just breaking the whole process.