git://git.onelab.eu
/
plewww.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another minor bug corrected at toggle.js (sorry)
[plewww.git]
/
plekit
/
toggle
/
toggle.js
diff --git
a/plekit/toggle/toggle.js
b/plekit/toggle/toggle.js
index
7d302e1
..
faae1b8
100644
(file)
--- a/
plekit/toggle/toggle.js
+++ b/
plekit/toggle/toggle.js
@@
-24,6
+24,15
@@
function plc_show_toggle_info(div, id) {
if (document.getElementById(div).style.display == "none")
document.getElementById(div).style.display = "";
if (document.getElementById(div).style.display == "none")
document.getElementById(div).style.display = "";
+ else
+ document.getElementById(div).style.display = "none";
- plc_toggle(id);
+ if(! area.visible()){
+ area.toggle();
+ visible.show();
+ hidden.hide();
+ document.getElementById(div).style.display = "";
+ }
+
+ //plc_toggle(id);
}
}