mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
Pressing d twice now deletes cell on first try.
This commit is contained in:
parent
47534d2a28
commit
1d9aa63500
@ -253,7 +253,7 @@ var IPython = (function (IPython) {
|
|||||||
handler : function (event) {
|
handler : function (event) {
|
||||||
var dc = IPython.delete_count;
|
var dc = IPython.delete_count;
|
||||||
if (dc === undefined) {
|
if (dc === undefined) {
|
||||||
IPython.delete_count = 0;
|
IPython.delete_count = 1;
|
||||||
} else if (dc === 0) {
|
} else if (dc === 0) {
|
||||||
IPython.delete_count = 1;
|
IPython.delete_count = 1;
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user