We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6526a19 + 426346f commit 31215b8Copy full SHA for 31215b8
notebook/static/notebook/js/completer.js
@@ -306,7 +306,8 @@ define([
306
};
307
308
Completer.prototype.build_gui_list = function (completions) {
309
- for (var i = 0; i < completions.length; ++i) {
+ var MAXIMUM_GUI_LIST_LENGTH = 1000;
310
+ for (var i = 0; i < completions.length && i < MAXIMUM_GUI_LIST_LENGTH; ++i) {
311
var opt = $('<option/>').text(completions[i].str).addClass(completions[i].type);
312
this.sel.append(opt);
313
}
0 commit comments