##// END OF EJS Templates
Fixing Shift-Enter bug in text cells....
Brian Granger -
Show More
@@ -49,7 +49,7 var IPython = (function (IPython) {
49 IPython.Cell.prototype.bind_events.apply(this);
49 IPython.Cell.prototype.bind_events.apply(this);
50 var that = this;
50 var that = this;
51 this.element.keydown(function (event) {
51 this.element.keydown(function (event) {
52 if (event.which === 13) {
52 if (event.which === 13 && !event.shiftKey) {
53 if (that.rendered) {
53 if (that.rendered) {
54 that.edit();
54 that.edit();
55 return false;
55 return false;
General Comments 0
You need to be logged in to leave comments. Login now