mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-22 09:21:32 +00:00
.github
DOCKER
benchmarks
blockchain
cmd
config
consensus
docs
_static
custom_collapsible_code.css
custom_collapsible_code.js
_templates
architecture
assets
images
specification
Makefile
README.md
abci-cli.rst
app-architecture.rst
app-development.rst
conf.py
deploy-testnets.rst
ecosystem.rst
getting-started.rst
how-to-read-logs.rst
index.rst
install.rst
introduction.rst
requirements.txt
specification.rst
using-tendermint.rst
evidence
lite
mempool
node
p2p
proxy
rpc
scripts
state
test
types
version
.codecov.yml
.editorconfig
.gitignore
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
Makefile
README.md
Vagrantfile
appveyor.yml
circle.yml
glide.lock
glide.yaml
11 lines
460 B
JavaScript
11 lines
460 B
JavaScript
![]() |
let makeCodeBlocksCollapsible = function() {
|
||
|
$(".toggle > *").hide();
|
||
|
$(".toggle .header").show();
|
||
|
$(".toggle .header").click(function() {
|
||
|
$(this).parent().children().not(".header").toggle({"duration": 400});
|
||
|
$(this).parent().children(".header").toggleClass("open");
|
||
|
});
|
||
|
};
|
||
|
// we could use the }(); way if we would have access to jQuery in HEAD, i.e. we would need to force the theme
|
||
|
// to load jQuery before our custom scripts
|