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 6647708 + 9b74a15 commit 2d21af1Copy full SHA for 2d21af1
debug_toolbar/static/debug_toolbar/js/toolbar.js
@@ -7,12 +7,11 @@
7
isReady: false,
8
init: function() {
9
$('#djDebug').show();
10
- var current = null;
11
$('#djDebugPanelList').on('click', 'li a', function() {
12
if (!this.className) {
13
return false;
14
}
15
- current = $('#djDebug #' + this.className);
+ var current = $('#djDebug #' + this.className);
16
if (current.is(':visible')) {
17
$(document).trigger('close.djDebug');
18
$(this).parent().removeClass('djdt-active');
0 commit comments