Skip to content

Commit b7e7526

Browse files
committed
fix ctrl+m not working on chromium
1 parent d8d1a58 commit b7e7526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filesys-1.1/static/notebook/js/notebook.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ var IPython = (function (IPython) {
321321
that.split_cell();
322322
that.control_key_active = false;
323323
return false;
324-
} else if (that.control_key_active) {
324+
} else if (event.which !== 229 && that.control_key_active) { /* work around a chromium bug */
325325
that.control_key_active = false;
326326
return true;
327327
}

0 commit comments

Comments
 (0)