summaryrefslogtreecommitdiff
path: root/UI/menu
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-08 05:08:10 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-09-08 05:08:10 +0000
commitdf7aed67c6e44f8086906bbf59c7696ef20b0b63 (patch)
treec0583e5e0e333f42fcb5e976090cb852d5be57a2 /UI/menu
parent3d6e6d263ec7f075447cf99b72318c6e21b69b7e (diff)
Fixing minor bug with menus
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1543 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/menu')
-rw-r--r--UI/menu/expanding.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/UI/menu/expanding.html b/UI/menu/expanding.html
index 3e48b721..7f57dad9 100644
--- a/UI/menu/expanding.html
+++ b/UI/menu/expanding.html
@@ -28,10 +28,11 @@
}
obj = 'a_' + id;
element = document.getElementById(obj);
- if (element.className == 'Expanded'){
- element.className = 'Menu';
+ if (element.className == 'Menu_Open'){
+ element.className
+ = 'Menu_Closed';
} else {
- element.className = 'Expanded';
+ element.className = 'Menu_Open';
}
return false;
}