##// END OF EJS Templates
Fix duplicate completion in notebook...
Matthias BUSSONNIER -
Show More
@@ -15,10 +15,10 var IPython = (function (IPython) {
15 15 }
16 16
17 17 function _existing_completion(item, completion_array){
18 for( var c in completion_array ) {
19 if(completion_array[c].substr(-item.length) == item)
20 { return true; }
21 }
18 for( var c in completion_array ) {
19 if(completion_array[c].trim().substr(-item.length) == item)
20 { return true; }
21 }
22 22 return false;
23 23 }
24 24
General Comments 0
You need to be logged in to leave comments. Login now