projects
/
debbugs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
952e4c2
)
make toggle work on the first click
author
Don Armstrong
<don@donarmstrong.com>
Sat, 21 Jul 2007 11:19:24 +0000
(
04:19
-0700)
committer
Don Armstrong
<don@donarmstrong.com>
Sat, 21 Jul 2007 11:19:24 +0000
(
04:19
-0700)
cgi/bugreport.cgi
patch
|
blob
|
history
diff --git
a/cgi/bugreport.cgi
b/cgi/bugreport.cgi
index 5b46729639605ba74a0b941b3374d2cd46bd3b78..4251fed98cbdeb92190b6824735164089150859e 100755
(executable)
--- a/
cgi/bugreport.cgi
+++ b/
cgi/bugreport.cgi
@@
-605,7
+605,8
@@
function toggle_infmessages()
{
if (allDivs[i].className == "infmessage")
{
- allDivs[i].style.display=(allDivs[i].style.display == 'none') ? 'block' : 'none';
+ allDivs[i].style.display=(allDivs[i].style.display == 'none' | allDivs[i].style.display == '') ? 'block' : 'none';
+ break;
}
}
}