summaryrefslogtreecommitdiff
path: root/UI
diff options
context:
space:
mode:
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;
}