diff --git a/notebook/static/tree/js/notebooklist.js b/notebook/static/tree/js/notebooklist.js index 8f280634d..91e9ecdec 100644 --- a/notebook/static/tree/js/notebooklist.js +++ b/notebook/static/tree/js/notebooklist.js @@ -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(); } }); };