diff --git a/IPython/html/static/notebook/js/cell.js b/IPython/html/static/notebook/js/cell.js index 636f61e..c14a125 100644 --- a/IPython/html/static/notebook/js/cell.js +++ b/IPython/html/static/notebook/js/cell.js @@ -435,9 +435,9 @@ var IPython = (function (IPython) { for( var mode in modes) { var regs = modes[mode]['reg']; // only one key every time but regexp can't be keys... - for(var reg in regs ) { + for(var i=0; i