aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-29 23:46:12 +0100
committerAymeric Augustin2013-11-29 23:46:12 +0100
commit67c855ac1548b0f00ced8944c76453dd118ae09d (patch)
tree9295a64e9f208fd9d2507a10ff8683a39001beba
parentc48227856e2454b9f3337b9b071dcdb8ed33b5d5 (diff)
downloaddjango-debug-toolbar-67c855ac1548b0f00ced8944c76453dd118ae09d.tar.bz2
Fix JS regression in the template panel.
It was introduced during last week-end's large renaming.
-rw-r--r--debug_toolbar/static/debug_toolbar/js/toolbar.template.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/static/debug_toolbar/js/toolbar.template.js b/debug_toolbar/static/debug_toolbar/js/toolbar.template.js
index 38307c1..6240898 100644
--- a/debug_toolbar/static/debug_toolbar/js/toolbar.template.js
+++ b/debug_toolbar/static/debug_toolbar/js/toolbar.template.js
@@ -8,7 +8,7 @@
var uarr = String.fromCharCode(0x25b6),
darr = String.fromCharCode(0x25bc);
- $('#djDebugTemplatePanel a.djTemplateShowContext').on('click', function() {
+ $('a.djTemplateShowContext').on('click', function() {
var arrow = $(this).children('.toggleArrow');
arrow.html(arrow.html() == uarr ? darr : uarr);
$(this).parent().next().toggle();