diff --git a/IPython/frontend/html/notebook/static/js/codecell.js b/IPython/frontend/html/notebook/static/js/codecell.js
index a8a3b47..e34bb69 100644
--- a/IPython/frontend/html/notebook/static/js/codecell.js
+++ b/IPython/frontend/html/notebook/static/js/codecell.js
@@ -253,7 +253,7 @@ var IPython = (function (IPython) {
},
dismissAndAppend : function (code)
{
- chararr = ['(',')','[',']','+','-','/','\\','.',' '];
+ chararr = '()[]+-/\\. ,=*'.split("");
codearr = chararr.map(function(x){return x.charCodeAt(0)});
return jQuery.inArray(code, codearr) != -1;
}