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.
1 parent 91d46c5 commit 426346fCopy full SHA for 426346f
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