mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
12 lines
362 B
JavaScript
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);
|