mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
notebook: fix, only one completion autopick
This commit is contained in:
parent
c596d17eaf
commit
44c959f88b
@ -278,6 +278,7 @@ var IPython = (function (IPython) {
|
||||
|
||||
// give common prefix of a array of string
|
||||
function sharedStart(A){
|
||||
if(A.length == 1){return A[0]}
|
||||
if(A.length > 1 ){
|
||||
var tem1, tem2, s, A = A.slice(0).sort();
|
||||
tem1 = A[0];
|
||||
|
Loading…
Reference in New Issue
Block a user