jinja.js
This file
Path
docs/_static/jinja.js
26 lines · 504 bytes · JavaScript
Last changed by
updated documentationArmin Ronacherbefore adoption3ef2043
History of this fileTake it
updated documentationArmin Ronacherbefore adoption3ef2043
lines 1–26why, one step back1$(function() {23 var4 toc = $('#toc').show(),5 items = $('#toc > ul').hide();67 $('#toc h3')8 .click(function() {9 if (items.is(':visible')) {10 items.animate({11 height: 'hide',12 opacity: 'hide'13 }, 300, function() {14 toc.removeClass('expandedtoc');15 });16 }17 else {18 items.animate({19 height: 'show',20 opacity: 'show'21 }, 400);22 toc.addClass('expandedtoc');23 }24 });2526});