From 67c855ac1548b0f00ced8944c76453dd118ae09d Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Fri, 29 Nov 2013 23:46:12 +0100 Subject: Fix JS regression in the template panel. It was introduced during last week-end's large renaming. --- debug_toolbar/static/debug_toolbar/js/toolbar.template.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debug_toolbar') 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(); -- cgit v1.2.3