Files
PyRIGS/static/debug_toolbar/js/toolbar.template.js
tomtom5152 b527a3faa9 Fixed incorrect url on bootstrap fonts.
Fixed missing static files in repo
2015-01-30 13:47:56 +00: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);