Fix some indentation
authorFlorian Zeitz <florob@babelmonkeys.de>
Sat, 18 Dec 2010 03:21:29 +0000 (04:21 +0100)
committerFlorian Zeitz <florob@babelmonkeys.de>
Sat, 18 Dec 2010 03:21:29 +0000 (04:21 +0100)
js/main.js

index 1b2aebb9edfd9a28ae29104d107ba420c84371b2..b634c9a16d4d6fb56f4e1da9c0f26e6bb3630f4d 100644 (file)
@@ -97,15 +97,15 @@ function addForm(elem, x) {
             break;
         case "list-multi":
             item = $("<select multiple='multiple'/>");
-            $(this).find("option").each(function(){
-                    $("<option/>").val($(this).find("value").text()).text($(this).attr("label")).appendTo(item);
-                    });
+            $(this).find("option").each(function() {
+                $("<option/>").val($(this).find("value").text()).text($(this).attr("label")).appendTo(item);
+            });
             break;
         case "list-single":
             item = $("<select/>");
-            $(this).find("option").each(function(){
-                    $("<option/>").val($(this).find("value").text()).text($(this).attr("label")).appendTo(item);
-                    });
+            $(this).find("option").each(function() {
+                $("<option/>").val($(this).find("value").text()).text($(this).attr("label")).appendTo(item);
+            });
             break;
         case "text-private":
             item = $("<input type='password'/>");