projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
128f1d7
)
make code blocks open on first click instead of second
author
Stefan Behnel
<stefan_ml@behnel.de>
Sun, 1 Sep 2013 20:29:34 +0000
(22:29 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sun, 1 Sep 2013 20:29:34 +0000
(22:29 +0200)
Cython/Compiler/Annotate.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Annotate.py
b/Cython/Compiler/Annotate.py
index
65796ca
..
bb795cd
100644
(file)
--- a/
Cython/Compiler/Annotate.py
+++ b/
Cython/Compiler/Annotate.py
@@
-122,7
+122,7
@@
body { font-family: courier; font-size: 12; }
<script>
function toggleDiv(id) {
theDiv = document.getElementById(id);
- if (theDiv.style.display
== 'none
') theDiv.style.display = 'block';
+ if (theDiv.style.display
!= 'block
') theDiv.style.display = 'block';
else theDiv.style.display = 'none';
}
</script>