diff --git a/IPython/html/static/tree/js/kernellist.js b/IPython/html/static/tree/js/kernellist.js
index d52e09c..7ff20dd 100644
--- a/IPython/html/static/tree/js/kernellist.js
+++ b/IPython/html/static/tree/js/kernellist.js
@@ -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;