mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Removed code unnecessary for Move to select the file name up to a period.
The Move button expects a file path, which shouldn't include a file extension suffix.
This commit is contained in:
parent
a05b947f8d
commit
ec47775d50
@ -843,11 +843,8 @@ define([
|
||||
}
|
||||
});
|
||||
input.focus();
|
||||
if (input.val().indexOf(".") > 0) {
|
||||
input[0].setSelectionRange(0,input.val().indexOf("."));
|
||||
} else {
|
||||
input.select();
|
||||
}
|
||||
// Highlight the current path in the input box.
|
||||
input.select();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user