Private
Public Access
1
0
Files
rowsandall/static/debug_toolbar/js/toolbar.template.js
Sander Roosendaal f3117bd4c6 static files
2016-11-28 12:05:36 +01:00

12 lines
362 B
JavaScript

(function ($) {
var uarr = String.fromCharCode(0x25b6),
darr = String.fromCharCode(0x25bc);
$('a.djTemplateShowContext').on('click', function() {
var arrow = $(this).children('.toggleArrow');
arrow.html(arrow.html() == uarr ? darr : uarr);
$(this).parent().next().toggle();
return false;
});
})(djdt.jQuery);