mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Merge pull request #7345 from jdfreder/kernel-order
Display kernels in alphabetical order.
This commit is contained in:
commit
b61a9cd738
@ -52,7 +52,11 @@ define([
|
||||
return -1;
|
||||
}
|
||||
});
|
||||
for (var i = 0; i < keys.length; i++) {
|
||||
|
||||
// Create the kernel list in reverse order because
|
||||
// the .after insertion causes each item to be added
|
||||
// to the top of the list.
|
||||
for (var i = keys.length - 1; i >= 0; i--) {
|
||||
var ks = this.kernelspecs[keys[i]];
|
||||
var li = $("<li>")
|
||||
.attr("id", "kernel-" +ks.name)
|
||||
|
Loading…
Reference in New Issue
Block a user