Index: jsmath/web/extensions/mathchoice.js =================================================================== RCS file: /usr/local/cvsroot/jsmath/web/extensions/mathchoice.js,v diff -u -r1.1 -r1.2 --- jsmath/web/extensions/mathchoice.js 11 Sep 2006 05:42:06 -0000 1.1 +++ jsmath/web/extensions/mathchoice.js 22 Jun 2007 07:31:21 -0000 1.2 @@ -34,7 +34,8 @@ */ choice: function (style,mitem,i,mlist) { if (style.charAt(style.length-1) == "'") {style = style.slice(0,style.length-1)} - var nlist = []; var M = mitem[style]; if (!M) {M = {type: 'mlist', mlist: []}} + var nlist = []; var M = mitem[style]; + if (!M) {M = {type: 'mlist', mlist: {mlist: []}}} if (M.type == 'mlist') { M = M.mlist.mlist; for (var k = 0; k < i; k++) {nlist[k] = mlist[k]}