changeset 4347:ae088388d645

common.js: cosmetic fixes, added var declaration
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 28 Sep 2008 00:13:58 +0200
parents dfb09cf670f9
children 5e69ec45d0c9
files wiki/htdocs/common/js/common.js
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/wiki/htdocs/common/js/common.js	Sun Sep 28 00:01:41 2008 +0200
+++ b/wiki/htdocs/common/js/common.js	Sun Sep 28 00:13:58 2008 +0200
@@ -179,7 +179,7 @@
 comments = null;
 
 function toggleComments() {
-    // Toggle visibility of every tag with class == *comment*
+    // Toggle visibility of every tag with class "comment"
     for (i = 0; i < comments.length; i++){
         el = comments[i];
         if ( el.style.display != 'none' ) {
@@ -294,6 +294,7 @@
 function dbw_hide_buttons() {
     var form;
     var elem;
+    var name;
 
     for (var fidx = 0; fidx < document.forms.length; fidx++) {
         form = document.forms[fidx];