mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
use explicit running header name + jquery's toggle
This commit is contained in:
parent
7d1da4c550
commit
14239c01e4
@ -31,11 +31,7 @@ var IPython = (function (IPython) {
|
||||
this.add_shutdown_button(item,this.sessions[path]);
|
||||
}
|
||||
|
||||
if ($.isEmptyObject(d)) {
|
||||
$('#' + this.element_name + '_list_header').show();
|
||||
} else {
|
||||
$('#' + this.element_name + '_list_header').hide();
|
||||
}
|
||||
$('#running_list_header').toggle($.isEmptyObject(d));
|
||||
}
|
||||
|
||||
IPython.KernelList = KernelList;
|
||||
|
Loading…
Reference in New Issue
Block a user