[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [1480] trunk/UI/menu_expand.html
- Subject: SF.net SVN: ledger-smb: [1480] trunk/UI/menu_expand.html
- From: ..hidden..
- Date: Fri, 31 Aug 2007 21:51:49 -0700
Revision: 1480
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1480&view=rev
Author: einhverfr
Date: 2007-08-31 21:51:48 -0700 (Fri, 31 Aug 2007)
Log Message:
-----------
Cleaning up the javascript a bit.
Modified Paths:
--------------
trunk/UI/menu_expand.html
Modified: trunk/UI/menu_expand.html
===================================================================
--- trunk/UI/menu_expand.html 2007-09-01 04:50:01 UTC (rev 1479)
+++ trunk/UI/menu_expand.html 2007-09-01 04:51:48 UTC (rev 1480)
@@ -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;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.