summaryrefslogtreecommitdiff
path: root/UI
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-01 04:51:48 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-01 04:51:48 +0000
commit26ec8246f92e47cd62520b0cd83819c077713f32 (patch)
treeab2bf40243021e5f20ce5507142e7465938f7180 /UI
parentbe21479375dfac327ba0120432c3920e736018d3 (diff)
Cleaning up the javascript a bit.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1480 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI')
-rw-r--r--UI/menu_expand.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/UI/menu_expand.html b/UI/menu_expand.html
index 86fd3011..daf31007 100644
--- a/UI/menu_expand.html
+++ b/UI/menu_expand.html
@@ -17,13 +17,13 @@
function SwitchMenu(obj) {
if (document.getElementById) {
- var el = document.getElementById(obj);
+ var element = document.getElementById(obj);
- if (el.style.display == "block") {
- el.style.display = "none";
+ if (element.style.display == "block") {
+ element.style.display = "none";
} else {
- el.style.display = "block"; //display the block of info
+ element.style.display = "block"; //display the block of info
}
return false;
}